orpiske commented on code in PR #7903:
URL: https://github.com/apache/camel/pull/7903#discussion_r907696941


##########
components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsMultipleConsumersTest.java:
##########
@@ -42,7 +45,7 @@ public void configure() {
         context.start();
 
         // give it a bit time to setup both topic listeners
-        Thread.sleep(2000);
+        Awaitility.await().atMost(2, 
TimeUnit.SECONDS).until(context::isStarted);

Review Comment:
   Thanks, I'll give it a try tomorrow without the sleep.



-- 
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