CLOUDSTACK-4820: Remove netacl check from test_01_wait_network_gc

From 4.2, network ACLs are no longer associated with a single network.
Multiple tiers within a VPC can share the same ACL.
Due to this, ACLs should not be cleaned up during network GC.
This commit is contained in:
Ashutosh K 2013-12-10 00:52:10 -05:00 committed by Girish Shilamkar
parent a55f108285
commit ae911a2ad2

View File

@ -2332,11 +2332,6 @@ class TestVPCNetworkGc(cloudstackTestCase):
wait_for_cleanup(self.apiclient, wait_for_cleanup(self.apiclient,
["network.gc.interval", "network.gc.wait"]) ["network.gc.interval", "network.gc.wait"])
#Bug???: Network Acls are not cleared
netacls = NetworkACL.list(self.apiclient, networkid=self.network_1.id)
self.debug("List of NetACLS %s" % netacls)
self.assertEqual(netacls, None, "Netacls were not cleared after network GC thread is run")
lbrules = LoadBalancerRule.list(self.apiclient, networkid=self.network_1.id) lbrules = LoadBalancerRule.list(self.apiclient, networkid=self.network_1.id)
self.debug("List of LB Rules %s" % lbrules) self.debug("List of LB Rules %s" % lbrules)
self.assertEqual(lbrules, None, "LBrules were not cleared after network GC thread is run") self.assertEqual(lbrules, None, "LBrules were not cleared after network GC thread is run")