cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject git commit: updated refs/heads/master to cab72c0
Date Wed, 07 Aug 2013 23:09:05 GMT
Updated Branches:
  refs/heads/master c6368b8a2 -> cab72c019


Automation: Fix test_redundant_router_network_rules.py

Stop VR after VM booted up.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/cab72c01
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/cab72c01
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/cab72c01

Branch: refs/heads/master
Commit: cab72c01935da0b0d5468d541cba8d8c5422587f
Parents: c6368b8
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Wed Aug 7 16:07:50 2013 -0700
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Wed Aug 7 16:08:59 2013 -0700

----------------------------------------------------------------------
 .../component/test_redundant_router_network_rules.py            | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cab72c01/test/integration/component/test_redundant_router_network_rules.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_redundant_router_network_rules.py b/test/integration/component/test_redundant_router_network_rules.py
index cc8dc85..0a781bf 100644
--- a/test/integration/component/test_redundant_router_network_rules.py
+++ b/test/integration/component/test_redundant_router_network_rules.py
@@ -23,6 +23,7 @@ from marvin.integration.lib.common import *
 #Import Local Modules
 from marvin.cloudstackTestCase import cloudstackTestCase
 from marvin.cloudstackAPI import *
+import time
 
 class Services:
     """Test Services for customer defects
@@ -1197,6 +1198,10 @@ class TestRedundantRouterRulesLifeCycle(cloudstackTestCase):
                                   serviceofferingid=self.service_offering.id,
                                   networkids=[str(network.id)]
                                   )
+
+        #Waiting for VM to come up before shutdown the router
+        time.sleep(120)
+
         self.debug("Deployed VM in network: %s" % network.id)
 
         vms = VirtualMachine.list(


Mime
View raw message