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:
parent
32e4271966
commit
a543122d00
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue