mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	Automation: Fix test_redundant_router_network_rules.py
Stop VR after VM booted up.
This commit is contained in:
		
							parent
							
								
									c6368b8a2c
								
							
						
					
					
						commit
						cab72c0193
					
				@ -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(
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user