From c65a224f4df811288c7c59f1be49947f6ae30ed7 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 9 May 2013 13:14:21 +0100 Subject: [PATCH] [bs-85] Change name of groovy sample script --- .../samples/{service.groovy => actuator.groovy} | 0 .../springframework/bootstrap/cli/SampleIntegrationTests.java | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename spring-bootstrap-cli/samples/{service.groovy => actuator.groovy} (100%) 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);