diff --git a/.github/workflows/all-tests.yml b/.github/workflows/all-tests.yml index ba7c424b8e..cbc5a63ebe 100644 --- a/.github/workflows/all-tests.yml +++ b/.github/workflows/all-tests.yml @@ -23,7 +23,7 @@ jobs: mvn -B clean install --file pom.xml -fae env: JAVA_TOOL_OPTIONS: ${{ env.JAVA_TOOL_OPTIONS }} - SKIP: true + CI_BUILD_SKIP: true # MacOS: # 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 4d869ac6c1..95470b16e6 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,7 +225,7 @@ public void validateETagConcurrentHandlingTestCaseForPatchMethod() throws Except @Test(groups = "wso2.dss", description = "etag concurrent handling with delete method test", dependsOnMethods = "validateETagConcurrentHandlingTestCaseForPatchMethod") public void validateETagConcurrentHandlingTestCaseForDeleteMethod() throws Exception { - if (System.getenv("SKIP").equals("true")) { + if (System.getenv("CI_BUILD_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\"}"; @@ -278,7 +278,7 @@ public void validateETagConcurrentHandlingTestCaseForDeleteMethod() throws Excep @Test(groups = "wso2.dss", description = "property modification using etag concurrent handling with put method test", dependsOnMethods = "validateETagConcurrentHandlingTestCaseForDeleteMethod") public void validateETagConcurrentHandlingTestCaseForUpdatePropertyWithPutMethod() throws Exception { // To insert values - if (System.getenv("SKIP").equals("true")) { + if (System.getenv("CI_BUILD_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\"}"; @@ -333,7 +333,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")) { + if (System.getenv("CI_BUILD_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"; diff --git a/integration/mediation-tests/tests-mediator-1/src/test/java/org/wso2/carbon/esb/mediator/test/aggregate/AggregateWithHighMaxAndLowMinTestCase.java b/integration/mediation-tests/tests-mediator-1/src/test/java/org/wso2/carbon/esb/mediator/test/aggregate/AggregateWithHighMaxAndLowMinTestCase.java index db2dc9c5bd..e3231c5029 100644 --- a/integration/mediation-tests/tests-mediator-1/src/test/java/org/wso2/carbon/esb/mediator/test/aggregate/AggregateWithHighMaxAndLowMinTestCase.java +++ b/integration/mediation-tests/tests-mediator-1/src/test/java/org/wso2/carbon/esb/mediator/test/aggregate/AggregateWithHighMaxAndLowMinTestCase.java @@ -158,7 +158,7 @@ public void testMoreNumberThanMaximum() throws IOException, XMLStreamException { @Test(groups = { "wso2.esb" }, description = "less number of messages than maximum count") public void testLessNumberThanMaximum() throws IOException, XMLStreamException { - if (System.getenv("SKIP").equals("true")) { + if (System.getenv("CI_BUILD_SKIP").equals("true")) { int responseCount = 0; no_of_requests = 60; diff --git a/integration/mediation-tests/tests-mediator-1/src/test/java/org/wso2/carbon/esb/mediator/test/foreach/ForEachJSONPayloadTestCase.java b/integration/mediation-tests/tests-mediator-1/src/test/java/org/wso2/carbon/esb/mediator/test/foreach/ForEachJSONPayloadTestCase.java index 359928d573..abb4bcf555 100644 --- a/integration/mediation-tests/tests-mediator-1/src/test/java/org/wso2/carbon/esb/mediator/test/foreach/ForEachJSONPayloadTestCase.java +++ b/integration/mediation-tests/tests-mediator-1/src/test/java/org/wso2/carbon/esb/mediator/test/foreach/ForEachJSONPayloadTestCase.java @@ -50,7 +50,7 @@ public void uploadSynapseConfig() throws Exception { @Test(groups = {"wso2.esb"}, description = "Test ForEach mediator with JSON payload") public void testForEachMediatorWithJSONPayload() throws Exception { - if (System.getenv("SKIP").equals("true")) { + if (System.getenv("CI_BUILD_SKIP").equals("true")) { String request = "{\"getQuote\":{\"request\":[{\"symbol\":\"IBM\"},{\"symbol\":\"WSO2\"},{\"symbol\":\"MSFT\"}]}}"; simpleHttpClient = new SimpleHttpClient(); diff --git a/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/ESBJAVA1832MessageInjectorTestCase.java b/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/ESBJAVA1832MessageInjectorTestCase.java index bbb01e7910..cb6f9cb15e 100644 --- a/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/ESBJAVA1832MessageInjectorTestCase.java +++ b/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/ESBJAVA1832MessageInjectorTestCase.java @@ -53,7 +53,7 @@ protected void init() throws Exception { @Test(groups = { "wso2.esb" }, description = "Test proxy service with jms transport") public void testMessageInjection() throws Exception { - if (System.getenv("SKIP").equals("true")) { + if (System.getenv("CI_BUILD_SKIP").equals("true")) { String queueName = "jmsQueue"; int numberOfMsgToExpect = 10; TimeUnit.SECONDS.sleep(15); diff --git a/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/ESBJAVA2907TestCase.java b/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/ESBJAVA2907TestCase.java index 30d551030f..acae56f2f3 100644 --- a/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/ESBJAVA2907TestCase.java +++ b/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/ESBJAVA2907TestCase.java @@ -23,7 +23,7 @@ protected void init() throws Exception { @Test(groups = "wso2.esb", description = "Test adding OMElements as properties when saving messages to the MessageStore") public void testAddingOMElementPropertyToMessageStore() throws Exception { - if (System.getenv("SKIP").equals("true")) { + if (System.getenv("CI_BUILD_SKIP").equals("true")) { AxisServiceClient client = new AxisServiceClient(); client.sendRobust(Utils.getStockQuoteRequest("IBM"), getProxyServiceURLHttp("testPS"), "getQuote"); Assert.assertTrue(carbonLogReader.checkForLog(GET_QUOTE_REQUEST_BODY, DEFAULT_TIMEOUT), "OMElement is not saved to the message store"); diff --git a/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/MSMPCronForwarderCase.java b/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/MSMPCronForwarderCase.java index dc7ed9e3b0..ce924ec272 100644 --- a/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/MSMPCronForwarderCase.java +++ b/integration/mediation-tests/tests-transport/src/test/java/org/wso2/carbon/esb/jms/transport/test/MSMPCronForwarderCase.java @@ -69,7 +69,7 @@ protected void init() throws Exception { @Test(groups = { "wso2.esb" }, description = "Test Cron Forwarding of message processor") public void testMessageProcessorCronForwader() throws Exception { - if (System.getenv("SKIP").equals("true")) { + if (System.getenv("CI_BUILD_SKIP").equals("true")) { // SEND THE REQUEST String addUrl = getProxyServiceURLHttp("MSMPRetrytest"); String payload = "{\"name\":\"Jack\"}";