sergehuber commented on code in PR #715:
URL: https://github.com/apache/unomi/pull/715#discussion_r2428517919


##########
itests/src/test/java/org/apache/unomi/itests/BaseIT.java:
##########
@@ -200,13 +218,28 @@ public void waitForStartup() throws InterruptedException {
         httpClient = initHttpClient(getHttpClientCredentialProvider());
     }
 
+    private void waitForUnomiManagementService() throws InterruptedException {
+        UnomiManagementService unomiManagementService = 
getOsgiService(UnomiManagementService.class, 600000);
+        while (unomiManagementService == null) {
+            LOGGER.info("Waiting for Unomi Management Service to be 
available...");
+            Thread.sleep(1000);
+            unomiManagementService = 
getOsgiService(UnomiManagementService.class, 600000);
+        }

Review Comment:
   Fixed it by adding a retryCount



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to