Skip to content

Commit

Permalink
check status using container name
Browse files Browse the repository at this point in the history
  • Loading branch information
m-goggins committed Oct 30, 2024
1 parent d43aebb commit 859c2ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 859c2ce

Please sign in to comment.