Merge "test_servers create : wait 5s between vm creation and ssh to avoid race condition"
This commit is contained in:
commit
6cff1c9129
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue