Skip to content

Commit

Permalink
Fix env variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ShammiL committed Aug 20, 2024
1 parent 25ddaff commit f8912a9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/all-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\"}";
Expand Down Expand Up @@ -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\"}";
Expand Down Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\"}";
Expand Down

0 comments on commit f8912a9

Please sign in to comment.