Probe the frontend on its IPv4 listener
All checks were successful
Build, test and publish / verify (push) Successful in 1m16s
All checks were successful
Build, test and publish / verify (push) Successful in 1m16s
This commit is contained in:
@@ -104,7 +104,7 @@ class Pipeline {
|
|||||||
void waitForApplication() throws Exception {
|
void waitForApplication() throws Exception {
|
||||||
for (int i = 0; i < 60; i++) {
|
for (int i = 0; i < 60; i++) {
|
||||||
if (result(false,"docker", "exec", runName + "-frontend", "wget", "-q", "-O", "-",
|
if (result(false,"docker", "exec", runName + "-frontend", "wget", "-q", "-O", "-",
|
||||||
"http://localhost:8080/api/dance-schools").code() == 0) return;
|
"http://127.0.0.1:8080/api/dance-schools").code() == 0) return;
|
||||||
Thread.sleep(2000);
|
Thread.sleep(2000);
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException("Application readiness timed out");
|
throw new IllegalArgumentException("Application readiness timed out");
|
||||||
|
|||||||
Reference in New Issue
Block a user