Skip to content

Commit 41eabaf

Browse files
committed
increase timeout as things run slow in nested-environments
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 949e1f0 commit 41eabaf

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

test/integration/smoke/test_deploy_vm_root_resize.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ def setUpClass(cls):
126126
if cls.restartreq:
127127
cls.restartServer()
128128

129-
#Giving 30 seconds to management to warm-up,
129+
#Giving 90 seconds to management to warm-up,
130130
#Experienced failures when trying to deploy a VM exactly when management came up
131-
time.sleep(30)
131+
time.sleep(90)
132132

133133
#create a service offering
134134
cls.service_offering = ServiceOffering.create(
@@ -159,9 +159,9 @@ def tearDownClass(cls):
159159
tags="")
160160
cls.restartServer()
161161

162-
#Giving 30 seconds to management to warm-up,
162+
#Giving 90 seconds to management to warm-up,
163163
#Experienced failures when trying to deploy a VM exactly when management came up
164-
time.sleep(30)
164+
time.sleep(90)
165165

166166
cleanup_resources(cls.api_client, cls._cleanup)
167167
except Exception as e:

test/integration/smoke/test_ssvm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def checkRunningAgent():
7373
return list_host_response[0].state == 'Up', None
7474
return False, None
7575

76-
res, _ = wait_until(3, self.services["sleep"], checkRunningAgent)
76+
res, _ = wait_until(3, 300, checkRunningAgent)
7777
if not res:
7878
raise Exception("Failed to wait for SSVM agent to be Up")
7979

@@ -99,7 +99,7 @@ def checkRunningState():
9999
return ssvm_response.state == 'Running', ssvm_response
100100
return False, None
101101

102-
res, ssvm_response = wait_until(3, self.services["sleep"], checkRunningState)
102+
res, ssvm_response = wait_until(3, 300, checkRunningState)
103103
if not res:
104104
self.fail("Failed to reach systemvm state to Running")
105105
return ssvm_response

0 commit comments

Comments
 (0)