Skip to content

Commit 438cf4e

Browse files
Gaurav AradhyeGirish Shilamkar
authored andcommitted
CLOUDSTACK-5186: Increasing the waiting time for router to
come up
1 parent e2051de commit 438cf4e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/integration/component/test_egress_fw_rules.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,15 @@ def exec_script_on_user_vm(self, script, exec_cmd_params, expected_result, negat
280280
self.debug("%s %s" % (script_file, exec_cmd_params))
281281

282282
exec_success = False
283-
#Timeout set to 3 minutes
284-
timeout = 180
283+
#Timeout set to 6 minutes
284+
timeout = 360
285285
while timeout:
286286
self.debug('sleep %s seconds for egress rule to affect on Router.' % self.services['sleep'])
287287
time.sleep(self.services['sleep'])
288288
result = ssh.execute("%s %s" % (script_file, exec_cmd_params))
289289
self.debug('Result is=%s' % result)
290290
self.debug('Expected result is=%s' % expected_result)
291-
291+
292292
if str(result).strip() == expected_result:
293293
exec_success = True
294294
break
@@ -301,9 +301,9 @@ def exec_script_on_user_vm(self, script, exec_cmd_params, expected_result, negat
301301
else: # Failed due to some other error
302302
break
303303
#end while
304-
304+
305305
if timeout == 0:
306-
self.fail("Router network failed to come up after 3 minutes.")
306+
self.fail("Router network failed to come up after 6 minutes.")
307307

308308
ssh.execute('rm -rf %s' % script_file)
309309

0 commit comments

Comments
 (0)