docs: align launchctl health probe checks
This commit is contained in:
@@ -99,6 +99,18 @@ class PortainerComposeResourceLimitsTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void localLaunchctlReadmeChecksLivenessAndReadinessForManagedApps() throws IOException {
|
||||
String readme = Files.readString(repositoryRoot()
|
||||
.resolve("deploy/local/launchctl/README.md"));
|
||||
|
||||
for (String httpPort : List.of("20100", "20400", "20200")) {
|
||||
assertThat(readme)
|
||||
.contains("curl -sS http://127.0.0.1:" + httpPort + "/actuator/health/liveness")
|
||||
.contains("curl -sS http://127.0.0.1:" + httpPort + "/actuator/health/readiness");
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void dockerEntrypointExecsJavaForSignalHandling() throws IOException {
|
||||
String dockerfile = Files.readString(repositoryRoot().resolve("Dockerfile"));
|
||||
|
||||
Reference in New Issue
Block a user