Merge "test_servers create : wait 5s between vm creation and ssh to avoid race condition"

This commit is contained in:
Zuul 2020-07-27 20:42:35 +00:00 committed by Gerrit Code Review
commit 6cff1c9129
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@ from __future__ import absolute_import
import os
import typing # noqa
import time
# import testtools
@ -80,6 +81,9 @@ def test_servers_creation(stack=TestServerCreationStack,
for fixture in fixtures:
testcase.useFixture(fixture)
# sleep for 5 sec , ensure no race condition with ssh
time.sleep(5)
# Test SSH connectivity to floating IP address
testcase.assertEqual(
{fixture.server_id: fixture.server_name