Browse Source

[bs-85] Change name of groovy sample script

pull/1/head
Dave Syer 13 years ago
parent
commit
c65a224f4d
  1. 0
      spring-bootstrap-cli/samples/actuator.groovy
  2. 4
      spring-bootstrap-cli/src/test/java/org/springframework/bootstrap/cli/SampleIntegrationTests.java

0
spring-bootstrap-cli/samples/service.groovy → spring-bootstrap-cli/samples/actuator.groovy

4
spring-bootstrap-cli/src/test/java/org/springframework/bootstrap/cli/SampleIntegrationTests.java

@ -69,7 +69,7 @@ public class SampleIntegrationTests { @@ -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 { @@ -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);

Loading…
Cancel
Save