Skip to content
Snippets Groups Projects
Commit ebca93f0 authored by Komal Makkar's avatar Komal Makkar Committed by Smitha Manjunath
Browse files

adding sleep

parent 2fc3e93b
No related branches found
No related tags found
3 merge requests!232Update os-core-lib-azure,!231initial commit,!196Azure | Increasing Code coverage
...@@ -160,6 +160,7 @@ public class TestStorageIntegration extends BaseTestTemplate { ...@@ -160,6 +160,7 @@ public class TestStorageIntegration extends BaseTestTemplate {
String URL = Config.Instance().StorageServicePath; String URL = Config.Instance().StorageServicePath;
ClientResponse response = descriptor.run(URL, "", this.testUtils.getAdminToken()); ClientResponse response = descriptor.run(URL, "", this.testUtils.getAdminToken());
assertEquals(error(response.getEntity(String.class)), 201, response.getStatus()); assertEquals(error(response.getEntity(String.class)), 201, response.getStatus());
TimeUnit.SECONDS.sleep(120);
// Verification of Test Ack Subscription creation from the above process. // Verification of Test Ack Subscription creation from the above process.
StopWatch stopWatch = new StopWatch(); StopWatch stopWatch = new StopWatch();
...@@ -182,7 +183,7 @@ public class TestStorageIntegration extends BaseTestTemplate { ...@@ -182,7 +183,7 @@ public class TestStorageIntegration extends BaseTestTemplate {
fail("An exception occurred :" + e); fail("An exception occurred :" + e);
} finally { } finally {
// Delete Actual Subscription // Delete Actual Subscription
this.deleteResource(); this.deleteResource();
// Deletion of Test Ack Subscription // Deletion of Test Ack Subscription
this.deleteAckSubscription(); this.deleteAckSubscription();
// Delete legal tag // Delete legal tag
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment