1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00

scripts: increase e2e-test image poll timeout to 12mins

Rare timeouts (narrowly missing) with 10 minutes observed, try
increasing by 2 minutes.

Also fix printing of error message in case of a timeout.
This commit is contained in:
Markus Lehtonen 2021-12-02 10:51:28 +02:00
parent 32e4271966
commit a543122d00

View file

@ -19,8 +19,8 @@ i=1
while true; do
if make poll-images; then
break
elif [ $i -ge 10 ]; then
"ERROR: too many tries when polling for image"
elif [ $i -ge 12 ]; then
echo "ERROR: too many tries when polling for image"
exit 1
fi
sleep 60