mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Improve robustness of DeploymentIntegrationTests
Closes gh-23207
This commit is contained in:
parent
52859303fe
commit
b9ee545c78
@ -138,7 +138,7 @@ class DeploymentIntegrationTests {
|
||||
super(new ImageFromDockerfile().withFileFromFile("spring-boot.war", findWarToDeploy())
|
||||
.withDockerfileFromBuilder((builder) -> builder.from(baseImage)
|
||||
.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() {
|
||||
|
Loading…
Reference in New Issue
Block a user