[TF] Skip ActiveStandbyScenarioTest in case of TF
Skip an entire test class to avoid class setup actions.
Related-PROD: PRODX-20758
Change-Id: I34cab733e2e908e05636087afb101450c02c67c2
diff --git a/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby.py b/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby.py
index 87a4c5f..aee20e6 100644
--- a/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby.py
+++ b/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby.py
@@ -31,6 +31,8 @@
LOG = logging.getLogger(__name__)
+@testtools.skipIf(CONF.load_balancer.provider == 'tungstenfabric',
+ "Not supported by TungstenFabric")
@testtools.skipUnless(
CONF.validation.run_validation,
'Active-Standby tests will not work without run_validation enabled.')
@@ -171,8 +173,6 @@
CONF.load_balancer.check_interval,
CONF.load_balancer.check_timeout)
- @testtools.skipIf(CONF.load_balancer.provider == 'tungstenfabric',
- "Not supported by TungstenFabric")
@testtools.skipIf(CONF.load_balancer.test_with_noop,
'Active/Standby tests will not work in noop mode.')
@decorators.idempotent_id('e591fa7a-0eee-485a-8ca0-5cf1a556bdf0')