diff --git a/sunbird_service_api_test/src/test/java/org/sunbird/integration/test/location/district/DeleteDistrictLocationTest.java b/sunbird_service_api_test/src/test/java/org/sunbird/integration/test/location/district/DeleteDistrictLocationTest.java index 7586d626..e9c463b7 100644 --- a/sunbird_service_api_test/src/test/java/org/sunbird/integration/test/location/district/DeleteDistrictLocationTest.java +++ b/sunbird_service_api_test/src/test/java/org/sunbird/integration/test/location/district/DeleteDistrictLocationTest.java @@ -39,7 +39,7 @@ public Object[][] deleteLocationFailureDataProvider() { }; } - @Test(dataProvider = "deleteLocationSuccessDataProvider") + @Test(dataProvider = "deleteLocationSuccessDataProvider", enabled = false) @CitrusParameters({"testName", "isAuthRequired", "httpStatusCode"}) @CitrusTest public void testDeleteLocationSuccess( @@ -58,7 +58,7 @@ public void testDeleteLocationSuccess( RESPONSE_JSON); } - @Test(dataProvider = "deleteLocationFailureDataProvider") + @Test(dataProvider = "deleteLocationFailureDataProvider", enabled = false) @CitrusParameters({"testName", "isAuthRequired", "httpStatusCode"}) @CitrusTest public void testDeleteLocationFailure( diff --git a/sunbird_service_api_test/src/test/java/org/sunbird/integration/test/user/UserTest.java b/sunbird_service_api_test/src/test/java/org/sunbird/integration/test/user/UserTest.java index add93df9..19a273b4 100644 --- a/sunbird_service_api_test/src/test/java/org/sunbird/integration/test/user/UserTest.java +++ b/sunbird_service_api_test/src/test/java/org/sunbird/integration/test/user/UserTest.java @@ -148,6 +148,7 @@ public void testCreateUser(String requestJson, String responseJson, String testN } else { HttpClientReceiveActionBuilder response = http().client(restTestClient).receive(); handleUserCreationResponse(response); + this.sleep(Constant.ES_SYNC_WAIT_TIME); } }