From 5e90343fc94f03a589d3ca18965ed66969e3cfd0 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 20 Jan 2022 22:20:46 +0200 Subject: [PATCH] cloudbuild.yaml: increase timeout to 1h 20min Fourth timeout increase's the charm. --- cloudbuild.yaml | 2 +- scripts/test-infra/test-e2e.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 44d725f2a..1fb2840c3 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -1,4 +1,4 @@ -timeout: 3600s +timeout: 4800s steps: - name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90 entrypoint: scripts/test-infra/push-image.sh diff --git a/scripts/test-infra/test-e2e.sh b/scripts/test-infra/test-e2e.sh index f9600cb9f..d711b63b5 100755 --- a/scripts/test-infra/test-e2e.sh +++ b/scripts/test-infra/test-e2e.sh @@ -19,11 +19,11 @@ i=1 while true; do if make poll-images; then break - elif [ $i -ge 62 ]; then + elif [ $i -ge 50 ]; then echo "ERROR: too many tries when polling for image" exit 1 fi - sleep 60 + sleep 100 i=$(( $i + 1 )) done