From 5180b9d6c015ffbf780a7cea6b823dd9668e47e1 Mon Sep 17 00:00:00 2001 From: ShammiL Date: Thu, 15 Aug 2024 12:12:57 +0530 Subject: [PATCH] change 11 add skip log --- .../dataservice/integration/test/odata/ODataETagTestCase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration/dataservice-hosting-tests/tests-integration/tests/src/test/java/org/wso2/ei/dataservice/integration/test/odata/ODataETagTestCase.java b/integration/dataservice-hosting-tests/tests-integration/tests/src/test/java/org/wso2/ei/dataservice/integration/test/odata/ODataETagTestCase.java index 6aafce291d..4d869ac6c1 100644 --- a/integration/dataservice-hosting-tests/tests-integration/tests/src/test/java/org/wso2/ei/dataservice/integration/test/odata/ODataETagTestCase.java +++ b/integration/dataservice-hosting-tests/tests-integration/tests/src/test/java/org/wso2/ei/dataservice/integration/test/odata/ODataETagTestCase.java @@ -225,8 +225,8 @@ public void validateETagConcurrentHandlingTestCaseForPatchMethod() throws Except @Test(groups = "wso2.dss", description = "etag concurrent handling with delete method test", dependsOnMethods = "validateETagConcurrentHandlingTestCaseForPatchMethod") public void validateETagConcurrentHandlingTestCaseForDeleteMethod() throws Exception { - System.out.println("SKIP is:" + System.getenv("SKIP").equals("true")); if (System.getenv("SKIP").equals("true")) { + System.out.println("This test is temporarily skipped for this workflow"); String endpoint = webAppUrl + "/odata/" + serviceName + "/" + configId + "/FILES"; String content = "{\"FILENAME\": \"WSO2PROD\" ,\"TYPE\" : \"dss\"}"; Map headers = new HashMap<>(); @@ -279,6 +279,7 @@ public void validateETagConcurrentHandlingTestCaseForDeleteMethod() throws Excep public void validateETagConcurrentHandlingTestCaseForUpdatePropertyWithPutMethod() throws Exception { // To insert values if (System.getenv("SKIP").equals("true")) { + System.out.println("This test is temporarily skipped for this workflow"); String endpoint = webAppUrl + "/odata/" + serviceName + "/" + configId + "/FILES"; String content = "{\"FILENAME\": \"WSO2PROD\" ,\"TYPE\" : \"dss\"}"; Map headers = new HashMap<>(); @@ -333,6 +334,7 @@ public void validateETagConcurrentHandlingTestCaseForUpdatePropertyWithPutMethod @Test(groups = "wso2.dss", description = "property modification using etag concurrent handling with patch method test", dependsOnMethods = "validateETagConcurrentHandlingTestCaseForUpdatePropertyWithPutMethod") public void validateETagConcurrentHandlingTestCaseForUpdatePropertyWithPatchMethod() throws Exception { if (System.getenv("SKIP").equals("true")) { + System.out.println("This test is temporarily skipped for this workflow"); String entityEndpoint = webAppUrl + "/odata/" + serviceName + "/" + configId + "/FILES(\'WSO2PROD\')"; String endpoint = webAppUrl + "/odata/" + serviceName + "/" + configId + "/FILES(\'WSO2PROD\')/TYPE"; Map headers = new HashMap<>();