diff options
author | Dmitry Valter <d-valter@yandex-team.com> | 2024-03-11 10:38:46 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-07-12 15:43:24 +0000 |
commit | 34fa0ce8f70a341df432b0baa3deaa1e87c71b95 (patch) | |
tree | e9a282b8376dd6aa7fd904238768f77df137b35a /test/test_flowprobe.py | |
parent | 7b7bc045f83d0094aa927bfd44d1ac157005a34c (diff) |
tests: skip more excluded plugin tests
Check and skip VPP_EXCLUDED_PLUGINS tests for most of plugins.
Type: improvement
Signed-off-by: Dmitry Valter <d-valter@yandex-team.com>
Change-Id: I23fd3666729251c639aa8da72a676058e3f5bb4e
Diffstat (limited to 'test/test_flowprobe.py')
-rw-r--r-- | test/test_flowprobe.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/test_flowprobe.py b/test/test_flowprobe.py index 89ac97ea88c..9622e6158b5 100644 --- a/test/test_flowprobe.py +++ b/test/test_flowprobe.py @@ -31,6 +31,7 @@ from vpp_papi.macaddress import mac_ntop from socket import inet_ntop from vpp_papi import VppEnum from vpp_sub_interface import VppDot1ADSubint +from config import config TMPL_COMMON_FIELD_COUNT = 6 @@ -384,6 +385,9 @@ class MethodHolder(VppTestCase): @tag_fixme_vpp_workers @tag_fixme_ubuntu2204 @tag_fixme_debian11 +@unittest.skipIf( + "flowprobe" in config.excluded_plugins, "Exclude Flowprobe plugin tests" +) class Flowprobe(MethodHolder): """Template verification, timer tests""" @@ -1226,6 +1230,9 @@ class DatapathTestsHolder(object): self.logger.info("FFP_TEST_FINISH_0002") +@unittest.skipIf( + "flowprobe" in config.excluded_plugins, "Exclude Flowprobe plugin tests" +) class DatapathTx(MethodHolder, DatapathTestsHolder): """Collect info on Ethernet, IP4 and IP6 datapath (TX) (no timers)""" @@ -1306,6 +1313,9 @@ class DatapathTx(MethodHolder, DatapathTestsHolder): ipfix.remove_vpp_config() +@unittest.skipIf( + "flowprobe" in config.excluded_plugins, "Exclude Flowprobe plugin tests" +) class DatapathRx(MethodHolder, DatapathTestsHolder): """Collect info on Ethernet, IP4 and IP6 datapath (RX) (no timers)""" @@ -1316,6 +1326,9 @@ class DatapathRx(MethodHolder, DatapathTestsHolder): @unittest.skipUnless(config.extended, "part of extended tests") +@unittest.skipIf( + "flowprobe" in config.excluded_plugins, "Exclude Flowprobe plugin tests" +) class DisableIPFIX(MethodHolder): """Disable IPFIX""" @@ -1364,6 +1377,9 @@ class DisableIPFIX(MethodHolder): @unittest.skipUnless(config.extended, "part of extended tests") +@unittest.skipIf( + "flowprobe" in config.excluded_plugins, "Exclude Flowprobe plugin tests" +) class ReenableIPFIX(MethodHolder): """Re-enable IPFIX""" @@ -1431,6 +1447,9 @@ class ReenableIPFIX(MethodHolder): @unittest.skipUnless(config.extended, "part of extended tests") +@unittest.skipIf( + "flowprobe" in config.excluded_plugins, "Exclude Flowprobe plugin tests" +) class DisableFP(MethodHolder): """Disable Flowprobe feature""" @@ -1539,6 +1558,9 @@ class DisableFP(MethodHolder): @unittest.skipUnless(config.extended, "part of extended tests") +@unittest.skipIf( + "flowprobe" in config.excluded_plugins, "Exclude Flowprobe plugin tests" +) class ReenableFP(MethodHolder): """Re-enable Flowprobe feature""" |