From 5ec03d2b3435d1b7826a645b456d9f80dcb77f65 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 18 Apr 2023 21:43:25 +0100 Subject: [PATCH] Wait longer for Redpanda to start --- ...pandaContainerConnectionDetailsFactoryIntegrationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-testcontainers/src/test/java/org/springframework/boot/testcontainers/service/connection/redpanda/RedpandaContainerConnectionDetailsFactoryIntegrationTests.java b/spring-boot-project/spring-boot-testcontainers/src/test/java/org/springframework/boot/testcontainers/service/connection/redpanda/RedpandaContainerConnectionDetailsFactoryIntegrationTests.java index 0d066f6205..5f8ae0ddc3 100644 --- a/spring-boot-project/spring-boot-testcontainers/src/test/java/org/springframework/boot/testcontainers/service/connection/redpanda/RedpandaContainerConnectionDetailsFactoryIntegrationTests.java +++ b/spring-boot-project/spring-boot-testcontainers/src/test/java/org/springframework/boot/testcontainers/service/connection/redpanda/RedpandaContainerConnectionDetailsFactoryIntegrationTests.java @@ -53,7 +53,8 @@ class RedpandaContainerConnectionDetailsFactoryIntegrationTests { @Container @ServiceConnection - static final RedpandaContainer redpanda = new RedpandaContainer(DockerImageNames.redpanda()); + static final RedpandaContainer redpanda = new RedpandaContainer(DockerImageNames.redpanda()) + .withStartupTimeout(Duration.ofMinutes(2)); @Autowired KafkaTemplate kafkaTemplate;