Merge "[TF] Fix PoolScenario tests" 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 d3959e7..07394cf 100644
--- a/octavia_tempest_plugin/tests/scenario/v2/test_pool.py
+++ b/octavia_tempest_plugin/tests/scenario/v2/test_pool.py
@@ -448,6 +448,12 @@
parser.parse(pool[const.CREATED_AT])
parser.parse(pool[const.UPDATED_AT])
UUID(pool[const.ID])
+ if CONF.load_balancer.provider == 'tungstenfabric':
+ # 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])
+ else:
+ self.assertEqual(const.OFFLINE, pool[const.OPERATING_STATUS])
self.assertEqual(pool_protocol, pool[const.PROTOCOL])
self.assertEqual(1, len(pool[const.LOADBALANCERS]))
self.assertEqual(self.lb_id, pool[const.LOADBALANCERS][0][const.ID])
diff --git a/octavia_tempest_plugin/tests/test_base.py b/octavia_tempest_plugin/tests/test_base.py
index b998b9b..e758be3 100644
--- a/octavia_tempest_plugin/tests/test_base.py
+++ b/octavia_tempest_plugin/tests/test_base.py
@@ -597,7 +597,7 @@
@classmethod
def check_tf_compatibility(cls, protocol=None, algorithm=None):
# TungstenFabric supported protocols and algorithms
- tf_protocols = [const.HTTP, const.HTTPS, const.TCP, const.UDP,
+ tf_protocols = [const.HTTP, const.HTTPS, const.TCP,
const.TERMINATED_HTTPS]
tf_algorithms = [const.LB_ALGORITHM_ROUND_ROBIN,
const.LB_ALGORITHM_LEAST_CONNECTIONS,