Commit b9ee545c authored by Andy Wilkinson's avatar Andy Wilkinson

Improve robustness of DeploymentIntegrationTests

Closes gh-23207
parent 52859303
...@@ -138,7 +138,7 @@ class DeploymentIntegrationTests { ...@@ -138,7 +138,7 @@ class DeploymentIntegrationTests {
super(new ImageFromDockerfile().withFileFromFile("spring-boot.war", findWarToDeploy()) super(new ImageFromDockerfile().withFileFromFile("spring-boot.war", findWarToDeploy())
.withDockerfileFromBuilder((builder) -> builder.from(baseImage) .withDockerfileFromBuilder((builder) -> builder.from(baseImage)
.add("spring-boot.war", deploymentLocation + "/spring-boot.war").build())); .add("spring-boot.war", deploymentLocation + "/spring-boot.war").build()));
withExposedPorts(port).withStartupTimeout(Duration.ofMinutes(10)); withExposedPorts(port).withStartupTimeout(Duration.ofMinutes(5)).withStartupAttempts(3);
} }
private static File findWarToDeploy() { private static File findWarToDeploy() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment