[TF] Adopt TrafficOperationsScenarioTest for TungstenFabric
Related-PROD: PRODX-8260 PRODX-7666
Change-Id: I25e0b798a3ae6c4bfca84717a98d247a751896e9
diff --git a/octavia_tempest_plugin/tests/scenario/v2/test_traffic_ops.py b/octavia_tempest_plugin/tests/scenario/v2/test_traffic_ops.py
index 0d49d67..6c3e94a 100644
--- a/octavia_tempest_plugin/tests/scenario/v2/test_traffic_ops.py
+++ b/octavia_tempest_plugin/tests/scenario/v2/test_traffic_ops.py
@@ -86,7 +86,8 @@
# releases (<=train) don't support it
cls._listener_pool_create(cls.protocol, 80)
- cls._listener_pool_create(const.UDP, 8080)
+ if CONF.load_balancer.provider != 'tungstenfabric':
+ cls._listener_pool_create(const.UDP, 8080)
@classmethod
def _listener_pool_create(cls, protocol, protocol_port):
@@ -204,6 +205,8 @@
def test_basic_traffic(self):
self._test_basic_traffic(self.protocol, 80)
+ @testtools.skipIf(CONF.load_balancer.provider == 'tungstenfabric',
+ 'TungstenFabric LB is not supporting UDP')
@testtools.skipIf(CONF.load_balancer.test_with_noop,
'Traffic tests will not work in noop mode.')
@decorators.idempotent_id('1e459663-2315-4067-bb47-c8a72f4928f0')
@@ -458,6 +461,8 @@
def test_healthmonitor_traffic(self):
self._test_healthmonitor_traffic(self.protocol, 80)
+ @testtools.skipIf(CONF.load_balancer.provider == 'tungstenfabric',
+ 'TungstenFabric LB is not supporting UDP')
@testtools.skipUnless(
CONF.loadbalancer_feature_enabled.health_monitor_enabled,
'Health monitor testing is disabled')