From 4cad83c2644a4eae291ab528ddbbd0aea111f45b Mon Sep 17 00:00:00 2001 From: Hideki Saito Date: Sat, 12 Mar 2022 18:55:15 +0900 Subject: [PATCH] Add sleep 5 secs in retry loop Signed-off-by: Hideki Saito --- tests/utils/shippable/shippable.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/utils/shippable/shippable.sh b/tests/utils/shippable/shippable.sh index 5c90918..76b389a 100755 --- a/tests/utils/shippable/shippable.sh +++ b/tests/utils/shippable/shippable.sh @@ -48,6 +48,7 @@ function retry return ${result} fi echo "@* -> ${result}" + sleep 5 done echo "Command '@*' failed 3 times!" exit 255 @@ -74,7 +75,7 @@ else fi # START: HACK install dependencies -#retry ansible-galaxy collection install community.general +retry ansible-galaxy collection install community.general # END: HACK export PYTHONIOENCODING='utf-8'