Increase timeout for SpringBootAppTest

Needs more time for test app to fully start sometimes.
This commit is contained in:
Kris De Volder
2017-10-20 12:42:04 -07:00
parent 30a53ac565
commit 1f73e46f4f

View File

@@ -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;