Commit 8d51eb3
Shane Wall
The workflow was hitting the metrics endpoint too soon/from the host. I switched the metrics check to run inside the loader container (which now has curl installed) against http://postgres:9911/metrics. This avoids host-network timing issues.
Ensured the loader installs curl so that internal metrics check works.
Files changed:
demo/postgres-survive-kill9/docker-compose.yml: loader now installs curl alongside the postgres client.
demo/postgres-survive-kill9/ci-smoke.sh: metrics wait uses docker compose exec -T loader curl http://postgres:9911/metrics and still waits up to ~4 minutes for readiness/tables/metrics.1 parent 01b2c11 commit 8d51eb3
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments