mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
test: sleep 30s after restarting mgt server in test_kubernetes_supported_versions.py to fix test failures with test_secondary_storage.py (#5962)
This commit is contained in:
parent
453aeb02f0
commit
ce81a8e708
@ -94,7 +94,9 @@ class TestKubernetesSupportedVersion(cloudstackTestCase):
|
||||
#Waits for management to come up in 5 mins, when it's up it will continue
|
||||
timeout = time.time() + 300
|
||||
while time.time() < timeout:
|
||||
if cls.isManagementUp() is True: return
|
||||
if cls.isManagementUp() is True:
|
||||
time.sleep(30)
|
||||
return
|
||||
time.sleep(5)
|
||||
return cls.fail("Management server did not come up, failing")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user