From 859c2ced53c8e509591bb534755c29df06d7e088 Mon Sep 17 00:00:00 2001 From: m-goggins Date: Wed, 30 Oct 2024 09:08:03 -0400 Subject: [PATCH] check status using container name --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e29a9a1eb..10d334b87 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,9 +76,9 @@ jobs: done - name: Poll until HAPI server is ready run: | - until [[ "$(curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/fhir/Patient)" -eq 200 ]]; do + until [[ "$(curl -s -o /dev/null -w '%{http_code}' http://hapi-fhir-server:8080/fhir/Patient)" -eq 200 ]]; do echo "Waiting for HAPI server to be ready before running Playwright..." - echo "Response status: $(curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/fhir/Patient)" + echo "Response status: $(curl -s -o /dev/null -w '%{http_code}' http://hapi-fhir-server:8080/fhir/Patient)" sleep 5 done - name: Poll until FHIR server has data