Updated Branches:
  refs/heads/master e2051de98 -> 438cf4ea6

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/438cf4ea
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/438cf4ea
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/438cf4ea

Branch: refs/heads/master
Commit: 438cf4ea63873d422ea23ff2ff4810e122770230
Parents: e2051de
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:15:14 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/438cf4ea/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)
 

Reply via email to