diff --git a/.github/workflows/e2e-tests-split.yml b/.github/workflows/e2e-tests-split.yml index e63386cd..5ada70a7 100644 --- a/.github/workflows/e2e-tests-split.yml +++ b/.github/workflows/e2e-tests-split.yml @@ -186,9 +186,9 @@ jobs: while [[ ${ATTEMPT} -lt ${MAX_ATTEMPTS} ]]; do ATTEMPT=$((ATTEMPT + 1)) echo "Attempt ${ATTEMPT}/${MAX_ATTEMPTS}..." - if curl -sf http://localhost:8080/api/v1/health > /dev/null 2>&1; then + if curl -sf http://127.0.0.1:8080/api/v1/health > /dev/null 2>&1; then echo "✅ Charon is healthy!" - curl -s http://localhost:8080/api/v1/health | jq . + curl -s http://127.0.0.1:8080/api/v1/health | jq . exit 0 fi sleep 2 @@ -233,7 +233,7 @@ jobs: echo "Chromium Shard ${{ matrix.shard }} Complete | Duration: ${SHARD_DURATION}s" echo "════════════════════════════════════════════" env: - PLAYWRIGHT_BASE_URL: http://localhost:8080 + PLAYWRIGHT_BASE_URL: http://127.0.0.1:8080 CI: true TEST_WORKER_INDEX: ${{ matrix.shard }} @@ -351,9 +351,9 @@ jobs: while [[ ${ATTEMPT} -lt ${MAX_ATTEMPTS} ]]; do ATTEMPT=$((ATTEMPT + 1)) echo "Attempt ${ATTEMPT}/${MAX_ATTEMPTS}..." - if curl -sf http://localhost:8080/api/v1/health > /dev/null 2>&1; then + if curl -sf http://127.0.0.1:8080/api/v1/health > /dev/null 2>&1; then echo "✅ Charon is healthy!" - curl -s http://localhost:8080/api/v1/health | jq . + curl -s http://127.0.0.1:8080/api/v1/health | jq . exit 0 fi sleep 2 @@ -406,7 +406,7 @@ jobs: echo "Firefox Shard ${{ matrix.shard }} Complete | Duration: ${SHARD_DURATION}s" echo "════════════════════════════════════════════" env: - PLAYWRIGHT_BASE_URL: http://localhost:8080 + PLAYWRIGHT_BASE_URL: http://127.0.0.1:8080 CI: true TEST_WORKER_INDEX: ${{ matrix.shard }} @@ -524,9 +524,9 @@ jobs: while [[ ${ATTEMPT} -lt ${MAX_ATTEMPTS} ]]; do ATTEMPT=$((ATTEMPT + 1)) echo "Attempt ${ATTEMPT}/${MAX_ATTEMPTS}..." - if curl -sf http://localhost:8080/api/v1/health > /dev/null 2>&1; then + if curl -sf http://127.0.0.1:8080/api/v1/health > /dev/null 2>&1; then echo "✅ Charon is healthy!" - curl -s http://localhost:8080/api/v1/health | jq . + curl -s http://127.0.0.1:8080/api/v1/health | jq . exit 0 fi sleep 2 @@ -579,7 +579,7 @@ jobs: echo "WebKit Shard ${{ matrix.shard }} Complete | Duration: ${SHARD_DURATION}s" echo "════════════════════════════════════════════" env: - PLAYWRIGHT_BASE_URL: http://localhost:8080 + PLAYWRIGHT_BASE_URL: http://127.0.0.1:8080 CI: true TEST_WORKER_INDEX: ${{ matrix.shard }}