Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShammiL committed Aug 22, 2024
1 parent 6baf85c commit 4d22db0
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,6 @@ 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(
Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))
? "This test is temporarily skipped for this workflow"
: "Test not skipped"
);
if (!Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))) {
System.out.println("This test is temporarily skipped for this workflow");
String endpoint = webAppUrl + "/odata/" + serviceName + "/" + configId + "/FILES";
Expand Down Expand Up @@ -283,11 +278,6 @@ 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
System.out.println(
Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))
? "This test is temporarily skipped for this workflow"
: "Test not skipped"
);
if (!Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))) {
String endpoint = webAppUrl + "/odata/" + serviceName + "/" + configId + "/FILES";
String content = "{\"FILENAME\": \"WSO2PROD\" ,\"TYPE\" : \"dss\"}";
Expand Down Expand Up @@ -342,11 +332,6 @@ 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 {
System.out.println(
Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))
? "This test is temporarily skipped for this workflow"
: "Test not skipped"
);
if (!Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))) {
System.out.println("This test is temporarily skipped for this workflow");
String entityEndpoint = webAppUrl + "/odata/" + serviceName + "/" + configId + "/FILES(\'WSO2PROD\')";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,6 @@ public void testMoreNumberThanMaximum() throws IOException, XMLStreamException {

@Test(groups = { "wso2.esb" }, description = "less number of messages than maximum count")
public void testLessNumberThanMaximum() throws IOException, XMLStreamException {
System.out.println(
Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))
? "This test is temporarily skipped for this workflow"
: "Test not skipped"
);
if (!Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))) {
int responseCount = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ public void uploadSynapseConfig() throws Exception {

@Test(groups = {"wso2.esb"}, description = "Test ForEach mediator with JSON payload")
public void testForEachMediatorWithJSONPayload() throws Exception {
System.out.println(
Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))
? "This test is temporarily skipped for this workflow"
: "Test not skipped"
);
if (!Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))) {
String request = "{\"getQuote\":{\"request\":[{\"symbol\":\"IBM\"},{\"symbol\":\"WSO2\"},{\"symbol\":\"MSFT\"}]}}";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ protected void init() throws Exception {

@Test(groups = { "wso2.esb" }, description = "Test proxy service with jms transport")
public void testMessageInjection() throws Exception {
System.out.println(
Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))
? "This test is temporarily skipped for this workflow"
: "Test not skipped"
);
if (!Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))) {
String queueName = "jmsQueue";
int numberOfMsgToExpect = 10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ 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 {
System.out.println(
Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))
? "This test is temporarily skipped for this workflow"
: "Test not skipped"
);
if (!Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))) {
AxisServiceClient client = new AxisServiceClient();
client.sendRobust(Utils.getStockQuoteRequest("IBM"), getProxyServiceURLHttp("testPS"), "getQuote");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ protected void init() throws Exception {

@Test(groups = { "wso2.esb" }, description = "Test Cron Forwarding of message processor")
public void testMessageProcessorCronForwader() throws Exception {
System.out.println(
Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))
? "This test is temporarily skipped for this workflow"
: "Test not skipped"
);
if (!Boolean.parseBoolean(System.getenv("CI_BUILD_SKIP"))) {
// SEND THE REQUEST
String addUrl = getProxyServiceURLHttp("MSMPRetrytest");
Expand Down

0 comments on commit 4d22db0

Please sign in to comment.