From ebca93f024f69fa070297612841e3465ea32e970 Mon Sep 17 00:00:00 2001
From: komakkar <komakkar@microsoft.com>
Date: Mon, 15 Nov 2021 23:39:07 +0530
Subject: [PATCH] adding sleep

---
 .../osdu/notification/api/TestStorageIntegration.java          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestStorageIntegration.java b/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestStorageIntegration.java
index 99ea70b73..e02bd2b89 100644
--- a/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestStorageIntegration.java
+++ b/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestStorageIntegration.java
@@ -160,6 +160,7 @@ public class TestStorageIntegration extends BaseTestTemplate {
             String URL = Config.Instance().StorageServicePath;
             ClientResponse response = descriptor.run(URL, "", this.testUtils.getAdminToken());
             assertEquals(error(response.getEntity(String.class)), 201, response.getStatus());
+            TimeUnit.SECONDS.sleep(120);
 
             // Verification of Test Ack Subscription creation from the above process.
             StopWatch stopWatch = new StopWatch();
@@ -182,7 +183,7 @@ public class TestStorageIntegration extends BaseTestTemplate {
             fail("An exception occurred :" + e);
         } finally {
             // Delete Actual Subscription
-            this.deleteResource();
+             this.deleteResource();
             // Deletion of Test Ack Subscription
             this.deleteAckSubscription();
             //  Delete legal tag
-- 
GitLab