Skip to content

Commit b9ee545

Browse files
committed
Improve robustness of DeploymentIntegrationTests
Closes gh-23207
1 parent 5285930 commit b9ee545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-tests/spring-boot-deployment-tests/src/intTest/java/sample/DeploymentIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private WarDeploymentContainer(String baseImage, String deploymentLocation, int
138138
super(new ImageFromDockerfile().withFileFromFile("spring-boot.war", findWarToDeploy())
139139
.withDockerfileFromBuilder((builder) -> builder.from(baseImage)
140140
.add("spring-boot.war", deploymentLocation + "/spring-boot.war").build()));
141-
withExposedPorts(port).withStartupTimeout(Duration.ofMinutes(10));
141+
withExposedPorts(port).withStartupTimeout(Duration.ofMinutes(5)).withStartupAttempts(3);
142142
}
143143

144144
private static File findWarToDeploy() {

0 commit comments

Comments
 (0)