mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	CLOUDSTACK-8053: Fix loop termination - test_vpc_host_maintenance.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
		
							parent
							
								
									f07c6bce49
								
							
						
					
					
						commit
						c4d383786f
					
				@ -221,6 +221,7 @@ class TestVMLifeCycleHostmaintenance(cloudstackTestCase):
 | 
			
		||||
            cls.hosts = Host.list(cls.api_client, clusterid=cluster.id)
 | 
			
		||||
            if len(cls.hosts) >= 2:
 | 
			
		||||
                clusterWithSufficientHosts = cluster
 | 
			
		||||
                break
 | 
			
		||||
 | 
			
		||||
        if clusterWithSufficientHosts is None:
 | 
			
		||||
            raise unittest.SkipTest("No Cluster with 2 hosts found")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user