Skip to content

Commit

Permalink
add delay before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Nov 8, 2023
1 parent a1dd6b0 commit 567e10d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
|| (docker compose -f docker-compose.agent.yml logs; exit 1)
- name: Wait for pokeshop services
run: |
timeout 60 bash -c 'until echo > /dev/tcp/localhost/8081; do sleep 1; done; echo "pokeshop http api ready"'
sleep 15 # it might take some time for docker compose to start up
timeout 60 bash -c 'until nc -z -w 1 localhost '8081' > /dev/null 2>&1; do sleep 1; done; echo "pokeshop http api ready"'
- name: Run tracetests
run: |
export TRACETEST_TOKEN=${{ secrets.TRACETEST_TOKEN }}
Expand Down

0 comments on commit 567e10d

Please sign in to comment.