Increase timeout for SpringBootAppTest
Needs more time for test app to fully start sometimes.
This commit is contained in:
@@ -35,7 +35,9 @@ public class SpringBootAppTest {
|
||||
// private static final String appName = "actuator-client-15-test-subject"; // Boot 1.5 test app
|
||||
private static final String appName = "actuator-client-20-test-subject"; //Boot 2.0 test app
|
||||
|
||||
private static final Duration TIMEOUT = Duration.ofSeconds(20); // in CI build starting the app takes longer than 10s sometimes.
|
||||
private static final Duration TIMEOUT = Duration.ofSeconds(30); // in CI build starting the app takes longer than 10s sometimes.
|
||||
//Output from CI build: Started ActuatorClientTestSubjectApplication in 22.962 seconds (JVM running for 26.028)
|
||||
|
||||
private static AsyncProcess testAppRunner;
|
||||
private static SpringBootApp testApp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user