From a6076818e0c80cffbc98b91332e8c0515be1be46 Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Wed, 7 Aug 2013 00:08:11 -0400 Subject: [PATCH] Automation: Affinity Groups- Removing invalid test case Signed-off-by: Prasanna Santhanam (cherry picked from commit ae378940c305fbb1449a1e5d8fdb13abc3a556dc) --- .../component/test_affinity_groups.py | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/test/integration/component/test_affinity_groups.py b/test/integration/component/test_affinity_groups.py index 309adc6a60f..39baf3ef758 100644 --- a/test/integration/component/test_affinity_groups.py +++ b/test/integration/component/test_affinity_groups.py @@ -644,30 +644,6 @@ class TestDeleteAffinityGroups(cloudstackTestCase): wait_for_cleanup(self.apiclient, ["expunge.delay", "expunge.interval"]) aff_1.delete(self.api_client) - @attr(tags=["simulator", "basic", "advanced", "multihost"]) - def test_04_delete_aff_grp_with_vms(self): - """ - Delete Affinity Group which has vms after updating affinity group for vms in it - """ - - aff_0 = self.create_aff_grp(aff_grp=self.services["host_anti_affinity"]) - - vm1, hostid1 = self.create_vm_in_aff_grps([aff_0.name]) - vm2, hostid2 = self.create_vm_in_aff_grps([aff_0.name]) - self.cleanup.extend([vm1, vm2]) - - with self.assertRaises(Exception): - aff_0.delete(self.api_client) - - vm1.update_affinity_group(self.api_client, affinitygroupnames=[]) - - with self.assertRaises(Exception): - aff_0.delete(self.api_client) - - vm2.update_affinity_group(self.api_client, affinitygroupnames=[]) - - aff_0.delete(self.api_client) - @attr(tags=["simulator", "basic", "advanced", "multihost"]) def test_05_delete_aff_grp_id(self): """