From 34fa0ce8f70a341df432b0baa3deaa1e87c71b95 Mon Sep 17 00:00:00 2001 From: Dmitry Valter Date: Mon, 11 Mar 2024 10:38:46 +0000 Subject: tests: skip more excluded plugin tests Check and skip VPP_EXCLUDED_PLUGINS tests for most of plugins. Type: improvement Signed-off-by: Dmitry Valter Change-Id: I23fd3666729251c639aa8da72a676058e3f5bb4e --- test/test_mpls.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/test_mpls.py') diff --git a/test/test_mpls.py b/test/test_mpls.py index 0e747ec7cd0..daa0d967d2e 100644 --- a/test/test_mpls.py +++ b/test/test_mpls.py @@ -25,6 +25,7 @@ from vpp_ip_route import ( ) from vpp_mpls_tunnel_interface import VppMPLSTunnelInterface from vpp_papi import VppEnum +from config import config import scapy.compat from scapy.packet import Raw @@ -1520,6 +1521,9 @@ class TestMPLS(VppTestCase): rx = self.send_and_expect(self.pg1, tx, self.pg1) self.verify_capture_ip6(self.pg0, rx, tx) + @unittest.skipIf( + "ping" in config.excluded_plugins, "Exclude tests requiring Ping plugin" + ) def test_deag(self): """MPLS Deagg""" -- cgit 1.2.3-korg