mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-03 03:43:54 +01:00
[bs-85] Change name of groovy sample script
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user