You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ap...@apache.org on 2024/08/21 14:51:24 UTC
(camel) branch main updated: Configure test container rabbitMQ with several startup attempt
This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new de42453cb96 Configure test container rabbitMQ with several startup attempt
de42453cb96 is described below
commit de42453cb963bd62991b0674ae1f83f8bfe9ad3b
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Wed Aug 21 16:23:48 2024 +0200
Configure test container rabbitMQ with several startup attempt
to stabilize build on CI
Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
.../test/infra/rabbitmq/services/RabbitMQLocalContainerService.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/test-infra/camel-test-infra-rabbitmq/src/test/java/org/apache/camel/test/infra/rabbitmq/services/RabbitMQLocalContainerService.java b/test-infra/camel-test-infra-rabbitmq/src/test/java/org/apache/camel/test/infra/rabbitmq/services/RabbitMQLocalContainerService.java
index 4e1587f4b0b..fe461ce2920 100644
--- a/test-infra/camel-test-infra-rabbitmq/src/test/java/org/apache/camel/test/infra/rabbitmq/services/RabbitMQLocalContainerService.java
+++ b/test-infra/camel-test-infra-rabbitmq/src/test/java/org/apache/camel/test/infra/rabbitmq/services/RabbitMQLocalContainerService.java
@@ -97,6 +97,7 @@ public class RabbitMQLocalContainerService implements RabbitMQService, Container
@Override
public void initialize() {
LOG.info("Trying to start RabbitMQ container");
+ container.withStartupAttempts(5);
container.start();
LOG.info("RabbitMQ container running on {}", container.getAmqpUrl());