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
This commit is contained in:
Michael Johnson 2018-07-25 22:28:08 -07:00 committed by Carlos Goncalves
parent f1c501ccf6
commit e4a9d3c1df
1 changed files with 2 additions and 2 deletions

View File

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