From 63de6e325d2005583c2ffb8ac84ca68ed5e5e359 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Fri, 6 Oct 2023 10:32:25 +0200 Subject: [PATCH] WIP: Increase retry delay in tests --- .github/workflows/test-on-droplet-debian-11.yml | 4 ++-- .github/workflows/test-on-droplet-ubuntu-22.04.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-on-droplet-debian-11.yml b/.github/workflows/test-on-droplet-debian-11.yml index 3dc052c84..f6a0cd821 100644 --- a/.github/workflows/test-on-droplet-debian-11.yml +++ b/.github/workflows/test-on-droplet-debian-11.yml @@ -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: | diff --git a/.github/workflows/test-on-droplet-ubuntu-22.04.yml b/.github/workflows/test-on-droplet-ubuntu-22.04.yml index 622b1db10..963c4f89f 100644 --- a/.github/workflows/test-on-droplet-ubuntu-22.04.yml +++ b/.github/workflows/test-on-droplet-ubuntu-22.04.yml @@ -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: |