Skip to content

Commit ae911a2

Browse files
Ashutosh KGirish Shilamkar
authored andcommitted
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.
1 parent a55f108 commit ae911a2

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

test/integration/component/test_vpc_network.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,11 +2332,6 @@ def test_01_wait_network_gc(self):
23322332
wait_for_cleanup(self.apiclient,
23332333
["network.gc.interval", "network.gc.wait"])
23342334

2335-
#Bug???: Network Acls are not cleared
2336-
netacls = NetworkACL.list(self.apiclient, networkid=self.network_1.id)
2337-
self.debug("List of NetACLS %s" % netacls)
2338-
self.assertEqual(netacls, None, "Netacls were not cleared after network GC thread is run")
2339-
23402335
lbrules = LoadBalancerRule.list(self.apiclient, networkid=self.network_1.id)
23412336
self.debug("List of LB Rules %s" % lbrules)
23422337
self.assertEqual(lbrules, None, "LBrules were not cleared after network GC thread is run")

0 commit comments

Comments
 (0)