diff --git a/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/CassandraContainer.java b/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/CassandraContainer.java index f6e830da79..6e8b63e84e 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/CassandraContainer.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/CassandraContainer.java @@ -40,8 +40,8 @@ public class CassandraContainer extends Container { public CassandraContainer() { super("cassandra:3.11.1", PORT, (container) -> container.waitingFor(new WaitStrategy(container)) - .withStartupAttempts(3) - .withStartupTimeout(Duration.ofSeconds(60))); + .withStartupAttempts(5) + .withStartupTimeout(Duration.ofSeconds(120))); } private static final class WaitStrategy extends HostPortWaitStrategy {