From fae824a95b9a737e9c071b4d41659ffae092d3d0 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Wed, 7 Aug 2013 16:07:50 -0700 Subject: [PATCH] Automation: Fix test_redundant_router_network_rules.py Stop VR after VM booted up. --- .../component/test_redundant_router_network_rules.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/integration/component/test_redundant_router_network_rules.py b/test/integration/component/test_redundant_router_network_rules.py index cc8dc85572e..0a781bf1c1e 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(