forked from mtusi2026/mtusi2026lab3
Lab3: track-1 results, failure/rolling/container evidence, report draft
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Wait until /health/ready answers 200 through the load balancer.
|
||||
# Usage: scripts/wait-ready.sh [url]
|
||||
set -eu
|
||||
url=${1:-http://127.0.0.1:8083/health/ready}
|
||||
url=${1:-http://127.0.0.1:${LB_PORT:-8083}/health/ready}
|
||||
attempts=0
|
||||
while [ "$attempts" -lt 120 ]; do
|
||||
if curl -fsS -o /dev/null "$url" 2>/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user