Skip to content

Commit

Permalink
change 11 add skip log
Browse files Browse the repository at this point in the history
  • Loading branch information
ShammiL committed Aug 15, 2024
1 parent 507ce08 commit 5180b9d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, String> headers = new HashMap<>();
Expand Down Expand Up @@ -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<String, String> headers = new HashMap<>();
Expand Down Expand Up @@ -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<String, String> headers = new HashMap<>();
Expand Down

0 comments on commit 5180b9d

Please sign in to comment.