Skip to content

Commit

Permalink
Fix: CI tests with curl had not timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Feb 3, 2023
1 parent cb2547d commit f6038d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-on-droplet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci --output json | ./.github/scripts/extract_droplet_ipv4.py)"
sleep 3
curl --retry 5 --fail "http://${DROPLET_IPV4}:4020/about/usage/system"
curl --retry 5 --fail "http://${DROPLET_IPV4}:4020/status/check/fastapi"
curl --retry 5 --max-time 10 --fail "http://${DROPLET_IPV4}:4020/about/usage/system"
curl --retry 5 --max-time 10 --fail "http://${DROPLET_IPV4}:4020/status/check/fastapi"
- name: Cleanup
if: always()
Expand Down

0 comments on commit f6038d7

Please sign in to comment.