diff --git a/test/image-tests/aws.sh b/test/image-tests/aws.sh index dbf56c561..9730a2fbd 100755 --- a/test/image-tests/aws.sh +++ b/test/image-tests/aws.sh @@ -231,12 +231,14 @@ done # Check for our smoke test file. greenprint "๐Ÿ›ƒ Checking for smoke test file" -RESULTS="$(smoke_test_check $PUBLIC_IP)" -if [[ $RESULTS == "1" ]]; then - echo "Smoke test passed! ๐Ÿฅณ" -else - echo "Smoke test failed! ๐Ÿ˜ญ" -fi +for LOOP_COUNTER in {0..10}; do + RESULTS="$(smoke_test_check $PUBLIC_IP)" + if [[ $RESULTS == 1 ]]; then + echo "Smoke test passed! ๐Ÿฅณ" + break + fi + sleep 5 +done # Clean up our mess. greenprint "๐Ÿงผ Cleaning up"