Increase startup timeout for Docker containers

Closes gh-19569
pull/19581/head
Andy Wilkinson 5 years ago
parent 3fb1bb74ba
commit bdffa860d9

@ -47,7 +47,7 @@ public class CassandraDataAutoConfigurationIntegrationTests {
@ClassRule
public static SkippableContainer<CassandraContainer<?>> cassandra = new SkippableContainer<>(
() -> new CassandraContainer<>().withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(2)));
() -> new CassandraContainer<>().withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(10)));
private AnnotationConfigApplicationContext context;

@ -31,7 +31,7 @@ public class RedisContainer extends Container {
public RedisContainer() {
super("redis:4.0.6", 6379,
(container) -> container.withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(2)));
(container) -> container.withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(10)));
}
}

Loading…
Cancel
Save