From 48a13feb7d68038f3f5e340d5d2b12e93f295ded Mon Sep 17 00:00:00 2001 From: Aasim Syed Date: Sat, 28 Sep 2024 00:46:22 -0400 Subject: [PATCH] Update pr_ci_playwright_e2e.yaml --- .github/workflows/pr_ci_playwright_e2e.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_ci_playwright_e2e.yaml b/.github/workflows/pr_ci_playwright_e2e.yaml index 9846f4398..7274842bf 100644 --- a/.github/workflows/pr_ci_playwright_e2e.yaml +++ b/.github/workflows/pr_ci_playwright_e2e.yaml @@ -62,11 +62,11 @@ jobs: ATTEMPT=1 while [[ $ATTEMPT -le $MAX_ATTEMPTS ]]; do echo "Attempt $ATTEMPT of $MAX_ATTEMPTS" - yarn wait-on http://localhost:3000 --timeout ${WAIT_TIME}000 + (yarn wait-on http://localhost:3000 --timeout ${WAIT_TIME}000) || true STATUS=$? if [[ $STATUS -eq 0 ]]; then echo "Server is ready!" - break + exit 0 else echo "Server not ready, retrying..." ATTEMPT=$((ATTEMPT + 1))