rafamqrs commented on code in PR #11945: URL: https://github.com/apache/camel/pull/11945#discussion_r1388640552
########## components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsReconnectManualTest.java: ########## @@ -102,7 +105,9 @@ public void configure() { * Wait long enough for the jms client to do a full reconnect. In the Tibco EMS case this means that a Temporary * Destination created before is invalid now */ - Thread.sleep(5000); + Awaitility.await() + .pollDelay(Duration.ofMillis(5000)) + .until(() -> true); Review Comment: Makes Sense, thank you! -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org