cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject git commit: updated refs/heads/4.2 to ae37894
Date Wed, 07 Aug 2013 14:14:37 GMT
Updated Branches:
  refs/heads/4.2 baf040012 -> ae378940c


Automation: Affinity Groups- Removing invalid test case

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ae378940
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ae378940
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ae378940

Branch: refs/heads/4.2
Commit: ae378940c305fbb1449a1e5d8fdb13abc3a556dc
Parents: baf0400
Author: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
Authored: Wed Aug 7 00:08:11 2013 -0400
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Wed Aug 7 19:43:58 2013 +0530

----------------------------------------------------------------------
 .../component/test_affinity_groups.py           | 24 --------------------
 1 file changed, 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ae378940/test/integration/component/test_affinity_groups.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_affinity_groups.py b/test/integration/component/test_affinity_groups.py
index 309adc6..39baf3e 100644
--- a/test/integration/component/test_affinity_groups.py
+++ b/test/integration/component/test_affinity_groups.py
@@ -645,30 +645,6 @@ class TestDeleteAffinityGroups(cloudstackTestCase):
         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):
         """
             Delete Affinity Group with id which does not belong to this user


Mime
View raw message