Skip to content

Commit a433d5c

Browse files
committed
Set longer timeout for docker startup in integration tests to prevent failing tests
1 parent add63ed commit a433d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/spring-shell/src/test/java/org/springframework/sbm/IntegrationTestBaseClass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ protected static RunningNetworkedContainer startDockerContainer(NetworkedContain
342342
.withNetwork(network)
343343
.withNetworkMode("host")
344344
.withNetworkAliases(networkedContainer.networkAlias)
345-
.withStartupTimeout(Duration.of(30, ChronoUnit.SECONDS))
345+
.withStartupTimeout(Duration.of(60, ChronoUnit.SECONDS))
346346
.withEnv(envMap);
347347
genericContainer.start();
348348

0 commit comments

Comments
 (0)