Merge "Add waiting OPERATION_STATUS for the third listener in tests."

This commit is contained in:
Zuul 2022-05-02 23:36:35 +00:00 committed by Gerrit Code Review
commit 05816960f9
1 changed files with 5 additions and 0 deletions

View File

@ -540,6 +540,11 @@ class ListenerAPITest(test_base.LoadBalancerBaseTest):
const.OPERATING_STATUS, const.ONLINE,
CONF.load_balancer.build_interval,
CONF.load_balancer.build_timeout)
listener3 = waiters.wait_for_status(
self.mem_listener_client.show_listener, listener3[const.ID],
const.OPERATING_STATUS, const.ONLINE,
CONF.load_balancer.build_interval,
CONF.load_balancer.build_timeout)
# Test that a different users cannot see the lb_member listeners.
expected_allowed = []