CI: do 12 attempts to connect to test instance

AArch64 needs a bit more time to boot testing instance. So give it more
time by doubling amount of connect attempts.

Change-Id: I87ca65691dfbac84349e8af24d2f36f1db1c8be1
This commit is contained in:
Marcin Juszkiewicz 2020-04-10 16:18:02 +02:00
parent 20f39e4a36
commit 6f24582eb9

View File

@ -76,7 +76,7 @@ function test_instance_boot {
echo "SUCCESS: Floating ip allocation"
echo "TESTING: PING&SSH to floating ip"
attempts=6
attempts=12
for i in $(seq 1 ${attempts}); do
if ping -c1 -W1 ${fip_addr} && ssh -v -o BatchMode=yes -o StrictHostKeyChecking=no cirros@${fip_addr} hostname; then
break