Skip to content

Commit 39ff170

Browse files
authored
fix: fail on timeout waiting for master success (#360)
1 parent 66ae90a commit 39ff170

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/scripts/utils/check_wait_master.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ while [[ "$((COUNT++))" -lt "$MAX_RETRY" ]]; do
7373

7474
"success")
7575
echo "Found master workflow successfully completed"
76-
break
76+
exit 0
7777
;;
7878

7979
*)
@@ -83,4 +83,5 @@ while [[ "$((COUNT++))" -lt "$MAX_RETRY" ]]; do
8383
esac
8484
done
8585

86-
echo "continuing"
86+
echo "Timing out"
87+
exit 1

0 commit comments

Comments
 (0)