diff --git a/spring-bootstrap-cli/samples/service.groovy b/spring-bootstrap-cli/samples/actuator.groovy similarity index 100% rename from spring-bootstrap-cli/samples/service.groovy rename to spring-bootstrap-cli/samples/actuator.groovy diff --git a/spring-bootstrap-cli/src/test/java/org/springframework/bootstrap/cli/SampleIntegrationTests.java b/spring-bootstrap-cli/src/test/java/org/springframework/bootstrap/cli/SampleIntegrationTests.java index 55edfe119c..0593265338 100644 --- a/spring-bootstrap-cli/src/test/java/org/springframework/bootstrap/cli/SampleIntegrationTests.java +++ b/spring-bootstrap-cli/src/test/java/org/springframework/bootstrap/cli/SampleIntegrationTests.java @@ -69,7 +69,7 @@ public class SampleIntegrationTests { return command; } }); - this.command = future.get(10, TimeUnit.SECONDS); + this.command = future.get(30, TimeUnit.SECONDS); } @After @@ -121,7 +121,7 @@ public class SampleIntegrationTests { @Test public void actuatorSample() throws Exception { - start("samples/service.groovy"); + start("samples/actuator.groovy"); String result = FileUtil.readEntirely(new URL("http://localhost:8080") .openStream()); assertEquals("{\"message\":\"Hello World!\"}", result);