summaryrefslogtreecommitdiffstats
path: root/test/test_interface_crud.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_interface_crud.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_interface_crud.py')
-rw-r--r--test/test_interface_crud.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_interface_crud.py b/test/test_interface_crud.py
index c88759d9b59..6565d23a8b6 100644
--- a/test/test_interface_crud.py
+++ b/test/test_interface_crud.py
@@ -18,6 +18,7 @@ from scapy.layers.l2 import Ether
from framework import VppTestCase
from asfframework import VppTestRunner
+from config import config
class TestLoopbackInterfaceCRUD(VppTestCase):
@@ -81,6 +82,9 @@ class TestLoopbackInterfaceCRUD(VppTestCase):
info = (i.local_ip4, request_src_if.remote_ip4, 0, i.sw_if_index)
self.assertIn(info, rcvd_icmp_pkts)
+ @unittest.skipIf(
+ "ping" in config.excluded_plugins, "Exclude tests requiring Ping plugin"
+ )
def test_crud(self):
# create
loopbacks = self.create_loopback_interfaces(20)