Skip to content

Commit

Permalink
Fix health check for service
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Nov 4, 2024
1 parent df355ee commit 3ead3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
# Health check
tmp_file=.dockerPs
while ! curl -sf http://entities-service:7000/openapi.json >> /dev/null ; do
while ! curl -sf http://localhost:${ENTITIES_SERVICE_PORT}/openapi.json >> /dev/null ; do
docker ps -a > $tmp_file
grep -E "^.*entities-service .* Exited .*$" $tmp_file && exited=yes && break
sleep 1
Expand Down

0 comments on commit 3ead3e0

Please sign in to comment.