Merge "[OVN] Check pool's operating status is online" into mcp/caracal
diff --git a/octavia_tempest_plugin/tests/scenario/v2/test_pool.py b/octavia_tempest_plugin/tests/scenario/v2/test_pool.py
index d2618e4..8615e02 100644
--- a/octavia_tempest_plugin/tests/scenario/v2/test_pool.py
+++ b/octavia_tempest_plugin/tests/scenario/v2/test_pool.py
@@ -171,7 +171,9 @@
parser.parse(pool[const.CREATED_AT])
parser.parse(pool[const.UPDATED_AT])
UUID(pool[const.ID])
- if CONF.load_balancer.provider == 'tungstenfabric':
+ provider = CONF.load_balancer.provider
+ if (provider == 'tungstenfabric' or
+ (provider == 'ovn' and listener_protocol is not None)):
# Operating status for a pool without members will be ONLINE if
# it is attached to a listener
self.assertEqual(const.ONLINE, pool[const.OPERATING_STATUS])