Skip to content

Commit

Permalink
WIP: Increase retry delay in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Oct 6, 2023
1 parent bb6b9b0 commit 63de6e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-on-droplet-debian-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-debian-11 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
sleep 3
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"
curl --retry 60 --max-time 2 --fail "http://${DROPLET_IPV4}:4020/about/usage/system"
curl --retry 30 --max-time 2 --fail "http://${DROPLET_IPV4}:4020/status/check/fastapi"
- name: Schedule an instance on the Droplet by faking a call from the scheduler
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-on-droplet-ubuntu-22.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-ubuntu-22-04 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
sleep 3
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"
curl --retry 60 --max-time 2 --fail "http://${DROPLET_IPV4}:4020/about/usage/system"
curl --retry 30 --max-time 2 --fail "http://${DROPLET_IPV4}:4020/status/check/fastapi"
- name: Schedule an instance on the Droplet by faking a call from the scheduler
run: |
Expand Down

0 comments on commit 63de6e3

Please sign in to comment.