Browse Source

Fix neutron-lbaas tempest for filter validation

Neutron recently enabled filter validation[1] which caused the
neutron-lbaas tempest gates to fail due to an incorrect filter. This
patch corrects that filter.

[1] https://review.openstack.org/#/c/574907/

Change-Id: I93f4ad75398c634305dc829b3db1dd2ba3575184
Michael Johnson 8 months ago
parent
commit
e4a9d3c1df
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      neutron_lbaas/tests/tempest/v2/api/base.py

+ 2
- 2
neutron_lbaas/tests/tempest/v2/api/base.py View File

@@ -134,14 +134,14 @@ class BaseTestCase(base.BaseNetworkTest):
134 134
         # Wait for straggling port deletes to finish (neutron will sometimes
135 135
         # claim they are deleted before they are totally finished deleting)
136 136
         remaining_ports = cls.ports_client.list_ports(
137
-            network=cls.network['id']).get('ports')
137
+            network_id=cls.network['id']).get('ports')
138 138
         tries = 1
139 139
         while remaining_ports and tries <= 10:
140 140
             LOG.warning("Ports still exist on network %s (try #%s): %s",
141 141
                         cls.network['id'], tries, remaining_ports)
142 142
             time.sleep(10)
143 143
             remaining_ports = cls.ports_client.list_ports(
144
-                network=cls.network['id']).get('ports')
144
+                network_id=cls.network['id']).get('ports')
145 145
             tries += 1
146 146
 
147 147
         if remaining_ports:

Loading…
Cancel
Save