summaryrefslogtreecommitdiffstats
path: root/test/test_ip_mcast.py
diff options
context:
space:
mode:
authorDmitry Valter <d-valter@yandex-team.com>2024-03-11 10:38:46 +0000
committerDave Wallace <dwallacelf@gmail.com>2024-07-12 15:43:24 +0000
commit34fa0ce8f70a341df432b0baa3deaa1e87c71b95 (patch)
treee9a282b8376dd6aa7fd904238768f77df137b35a /test/test_ip_mcast.py
parent7b7bc045f83d0094aa927bfd44d1ac157005a34c (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_ip_mcast.py')
-rw-r--r--test/test_ip_mcast.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_ip_mcast.py b/test/test_ip_mcast.py
index 564b4231da9..682e7699210 100644
--- a/test/test_ip_mcast.py
+++ b/test/test_ip_mcast.py
@@ -14,6 +14,7 @@ from vpp_ip_route import (
)
from vpp_gre_interface import VppGreInterface
from vpp_papi import VppEnum
+from config import config
from scapy.packet import Raw
from scapy.layers.l2 import Ether, GRE
@@ -884,6 +885,9 @@ class TestIPMcast(VppTestCase):
signals = self.vapi.mfib_signal_dump()
self.assertEqual(0, len(signals))
+ @unittest.skipIf(
+ "ping" in config.excluded_plugins, "Exclude tests requiring Ping plugin"
+ )
def test_ip_mcast_vrf(self):
"""IP Multicast Replication in non-default table"""
@@ -976,6 +980,9 @@ class TestIPMcast(VppTestCase):
self.send_and_expect(self.pg8, tx, self.pg8)
+ @unittest.skipIf(
+ "gre" in config.excluded_plugins, "Exclude tests requiring GRE plugin"
+ )
def test_ip_mcast_gre(self):
"""IP Multicast Replication over GRE"""
@@ -1056,6 +1063,9 @@ class TestIPMcast(VppTestCase):
self.assertEqual(rx[IP].dst, gre_if_3.t_dst)
self.assert_packet_checksums_valid(rx)
+ @unittest.skipIf(
+ "gre" in config.excluded_plugins, "Exclude tests requiring GRE plugin"
+ )
def test_ip6_mcast_gre(self):
"""IP6 Multicast Replication over GRE"""