Commit 19063c8
Test server liveness through API call
Previously the docker daemon was used to determine if a docker container
is alive. This is a weak criterion as this is already checked by the
"Wait for container and sever initialization" step.
We changed the liveness check to rely on the `/description` endpoint
that all services are required to implement. A status `200 OK` is
interpreted as alive. The `X_API_VERSION` that is necessary for the
path of the curl call, is introduced as environment variable.1 parent 9fe445e commit 19063c8
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
353 | | - | |
| 354 | + | |
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
361 | | - | |
| 362 | + | |
362 | 363 | | |
363 | | - | |
| 364 | + | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
| |||
0 commit comments