From 91c54d2e39405be98f19fb6e162706e34f5ce50b Mon Sep 17 00:00:00 2001 From: Karthik Kumarasamy Date: Wed, 1 Aug 2018 17:22:45 +0530 Subject: [PATCH] Issue # SB-000 feat: duplicate email/username FT fix and location FT removal --- .../test/location/district/DeleteDistrictLocationTest.java | 4 ++-- .../test/java/org/sunbird/integration/test/user/UserTest.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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); } }