From c4d383786fb80f51861488b206ce35dd509ace65 Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Tue, 9 Dec 2014 16:45:04 +0530 Subject: [PATCH] CLOUDSTACK-8053: Fix loop termination - test_vpc_host_maintenance.py Signed-off-by: SrikanteswaraRao Talluri --- test/integration/component/maint/test_vpc_host_maintenance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/component/maint/test_vpc_host_maintenance.py b/test/integration/component/maint/test_vpc_host_maintenance.py index 702746918cf..74d59e736b9 100644 --- a/test/integration/component/maint/test_vpc_host_maintenance.py +++ b/test/integration/component/maint/test_vpc_host_maintenance.py @@ -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")