From a5dc7407d972099919e6fb05b79f2489d72c129a Mon Sep 17 00:00:00 2001
From: Rustam_Lotsmanenko <rustam_lotsmanenko@epam.com>
Date: Mon, 18 Dec 2023 19:03:41 +0200
Subject: [PATCH] add sleep in test after sub created

---
 .../org/opengroup/osdu/notification/api/TestPushEndpointGsa.java | 1 +
 .../opengroup/osdu/notification/api/TestPushEndpointHMAC.java    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/testing/notification-test-gc/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointGsa.java b/testing/notification-test-gc/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointGsa.java
index 2245bebf5..c68244d99 100644
--- a/testing/notification-test-gc/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointGsa.java
+++ b/testing/notification-test-gc/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointGsa.java
@@ -85,6 +85,7 @@ public class TestPushEndpointGsa {
     servicesUtils = new ServicesUtils(storageHost, legalHost, testUtils, tenant, groupId);
     servicesUtils.createLegalTag(LEGAL_TAG_NAME);
     createResourceInPartition(tenant);
+    Thread.sleep(10000);
   }
 
   @Test
diff --git a/testing/notification-test-gc/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointHMAC.java b/testing/notification-test-gc/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointHMAC.java
index a4b5ec17d..9e6da6e80 100644
--- a/testing/notification-test-gc/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointHMAC.java
+++ b/testing/notification-test-gc/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointHMAC.java
@@ -81,6 +81,7 @@ public class TestPushEndpointHMAC {
     servicesUtils = new ServicesUtils(storageHost, legalHost, testUtils, tenant, groupId);
     servicesUtils.createLegalTag(LEGAL_TAG_NAME);
     createResourceInPartition(tenant);
+    Thread.sleep(10000);
   }
 
   @Test
-- 
GitLab