Merge "Copy constraints file and cleanup log vars"
[releng/builder.git] / jjb / integration / distribution-deploy-verify.sh
index 193d1f944a6f4e402bded9343cd133a8e483bae0..e3e60a5a90a9fdd3ce5049dbc216fdfd89079e32 100644 (file)
@@ -73,9 +73,11 @@ while true; do
         netstat -pnatu
         exit 1
     else
-        COUNT="$(( ${COUNT} + 5 ))"
-        sleep 5
-        echo "waiting ${COUNT} secs..."
+        COUNT=$(( ${COUNT} + 1 ))
+        sleep 1
+        if [[ $(($COUNT % 5)) == 0 ]]; then
+            echo already waited ${COUNT} seconds...
+        fi
     fi
 done