This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new 9b78b3f  Use log await strategy for RabbitMQ container
9b78b3f is described below

commit 9b78b3f661ce7a812affe81ec97ef51ee3ab4ef3
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Wed Oct 27 11:07:23 2021 +0100

    Use log await strategy for RabbitMQ container
---
 .../camel/quarkus/component/rabbitmq/it/RabbitmqTestResource.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/integration-tests/rabbitmq/src/test/java/org/apache/camel/quarkus/component/rabbitmq/it/RabbitmqTestResource.java
 
b/integration-tests/rabbitmq/src/test/java/org/apache/camel/quarkus/component/rabbitmq/it/RabbitmqTestResource.java
index dbec2de..b26ad0d 100644
--- 
a/integration-tests/rabbitmq/src/test/java/org/apache/camel/quarkus/component/rabbitmq/it/RabbitmqTestResource.java
+++ 
b/integration-tests/rabbitmq/src/test/java/org/apache/camel/quarkus/component/rabbitmq/it/RabbitmqTestResource.java
@@ -45,7 +45,7 @@ public class RabbitmqTestResource implements 
QuarkusTestResourceLifecycleManager
             container = new GenericContainer<>(RABBITMQ_IMAGE)
                     .withExposedPorts(RABBITMQ_PORT)
                     .withLogConsumer(new Slf4jLogConsumer(LOGGER))
-                    .waitingFor(Wait.forListeningPort());
+                    .waitingFor(Wait.forLogMessage(".*Server startup 
complete.*", 1));
 
             container.start();
 

Reply via email to