summaryrefslogtreecommitdiffstats
path: root/test/test_flowprobe.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_flowprobe.py')
-rw-r--r--test/test_flowprobe.py22
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"""