CI: Bump instance creation timeout to 5 minutes
In many cases we've seen that current 120 seconds is not enough Signed-Off-By: Michal Nasiadka <mnasiadka@gmail.com> Change-Id: Iaf863f4e0aaeefd1270030e1b456aa5b258fe5a7
This commit is contained in:
@@ -262,7 +262,7 @@ function test_ssh {
|
|||||||
local instance_name=$1
|
local instance_name=$1
|
||||||
local fip_addr=$2
|
local fip_addr=$2
|
||||||
local attempts
|
local attempts
|
||||||
attempts=12
|
attempts=30
|
||||||
for i in $(seq 1 ${attempts}); do
|
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
|
if ping -c1 -W1 ${fip_addr} && ssh -v -o BatchMode=yes -o StrictHostKeyChecking=no cirros@${fip_addr} hostname; then
|
||||||
break
|
break
|
||||||
|
Reference in New Issue
Block a user