Skip to content

Commit 5ec03d2

Browse files
committed
Wait longer for Redpanda to start
1 parent 7b3e687 commit 5ec03d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-testcontainers/src/test/java/org/springframework/boot/testcontainers/service/connection/redpanda/RedpandaContainerConnectionDetailsFactoryIntegrationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ class RedpandaContainerConnectionDetailsFactoryIntegrationTests {
5353

5454
@Container
5555
@ServiceConnection
56-
static final RedpandaContainer redpanda = new RedpandaContainer(DockerImageNames.redpanda());
56+
static final RedpandaContainer redpanda = new RedpandaContainer(DockerImageNames.redpanda())
57+
.withStartupTimeout(Duration.ofMinutes(2));
5758

5859
@Autowired
5960
KafkaTemplate<String, String> kafkaTemplate;

0 commit comments

Comments
 (0)