From 23c040f7dd61ded0b52f96fd1e44ec73abfefd32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Kr=C3=A4ml?= Date: Fri, 7 Nov 2025 12:26:09 +0100 Subject: [PATCH] fix(downstream): only use max attempts in new logic --- downstream/wait.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downstream/wait.bash b/downstream/wait.bash index 9fa35bb..b670d81 100755 --- a/downstream/wait.bash +++ b/downstream/wait.bash @@ -46,7 +46,7 @@ find_connect_step_job_id() { } while true; do - if [[ ${ATTEMPT} -gt ${MAX_ATTEMPTS} ]]; then + if [[ ${NEW_LOGIC} -eq 1 && ${ATTEMPT} -gt ${MAX_ATTEMPTS} ]]; then fail fi echo "Trying to get run id from downstream. Attempt: ${ATTEMPT}"