From a080a184395663524036146fb74131a7d5181929 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sat, 30 May 2026 18:21:00 +0530 Subject: [PATCH] Keep benchmark health check fix --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a7537cf1d..343d22fdf2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -761,11 +761,11 @@ jobs: run: | docker tag ${{ env.IMAGE }}:before ${{ env.IMAGE }} docker compose up -d --wait --no-build - for attempt in $(seq 1 5); do - if curl -fsS http://localhost/v1/health; then + for attempt in $(seq 1 10); do + if curl -fsS http://localhost/v1/health/version; then break fi - if [ "$attempt" -eq 5 ]; then + if [ "$attempt" -eq 10 ]; then exit 1 fi sleep 1 @@ -825,11 +825,11 @@ jobs: run: | docker tag ${{ env.IMAGE }}:after ${{ env.IMAGE }} docker compose up -d --wait --no-build - for attempt in $(seq 1 5); do - if curl -fsS http://localhost/v1/health; then + for attempt in $(seq 1 10); do + if curl -fsS http://localhost/v1/health/version; then break fi - if [ "$attempt" -eq 5 ]; then + if [ "$attempt" -eq 10 ]; then exit 1 fi sleep 1