Updated Branches: refs/heads/4.2 4df0c4a7b -> 04807f2b5
CLOUDSTACK-5186: Increasing the waiting time for router to come up Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/04807f2b Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/04807f2b Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/04807f2b Branch: refs/heads/4.2 Commit: 04807f2b51242172d1a87f34cb096aef8149f1d9 Parents: 4df0c4a Author: Gaurav Aradhye <gaurva.arad...@clogeny.com> Authored: Sat Nov 16 17:11:32 2013 +0530 Committer: Girish Shilamkar <gir...@clogeny.com> Committed: Sat Nov 16 17:14:23 2013 +0530 ---------------------------------------------------------------------- test/integration/component/test_egress_fw_rules.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/04807f2b/test/integration/component/test_egress_fw_rules.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_egress_fw_rules.py b/test/integration/component/test_egress_fw_rules.py index 56ac366..6dcc2c4d 100644 --- a/test/integration/component/test_egress_fw_rules.py +++ b/test/integration/component/test_egress_fw_rules.py @@ -280,15 +280,15 @@ class TestEgressFWRules(cloudstackTestCase): self.debug("%s %s" % (script_file, exec_cmd_params)) exec_success = False - #Timeout set to 3 minutes - timeout = 180 + #Timeout set to 6 minutes + timeout = 360 while timeout: self.debug('sleep %s seconds for egress rule to affect on Router.' % self.services['sleep']) time.sleep(self.services['sleep']) result = ssh.execute("%s %s" % (script_file, exec_cmd_params)) self.debug('Result is=%s' % result) self.debug('Expected result is=%s' % expected_result) - + if str(result).strip() == expected_result: exec_success = True break @@ -301,9 +301,9 @@ class TestEgressFWRules(cloudstackTestCase): else: # Failed due to some other error break #end while - + if timeout == 0: - self.fail("Router network failed to come up after 3 minutes.") + self.fail("Router network failed to come up after 6 minutes.") ssh.execute('rm -rf %s' % script_file)