aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-04-10 16:18:02 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-04-10 16:50:04 +0000
commit6f24582eb9b31b8046fcb7dbe8141b2caa12d673 (patch)
tree1c44354d29cf93effd60952f28cbc89887c2c7ec /tests
parent20f39e4a361e3d7cdbfc969a0b6d33e8440392db (diff)
downloadkolla-ansible-6f24582eb9b31b8046fcb7dbe8141b2caa12d673.tar.gz
kolla-ansible-6f24582eb9b31b8046fcb7dbe8141b2caa12d673.zip
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
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test-core-openstack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-core-openstack.sh b/tests/test-core-openstack.sh
index 01c83aa80..8339a7d57 100755
--- a/tests/test-core-openstack.sh
+++ b/tests/test-core-openstack.sh
@@ -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