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_ipsec_ah.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/test_ipsec_ah.py') diff --git a/test/test_ipsec_ah.py b/test/test_ipsec_ah.py index 8fece500907..bc31a87abb0 100644 --- a/test/test_ipsec_ah.py +++ b/test/test_ipsec_ah.py @@ -28,6 +28,7 @@ from vpp_ipsec import VppIpsecSA, VppIpsecSpd, VppIpsecSpdEntry, VppIpsecSpdItfB from vpp_ip_route import VppIpRoute, VppRoutePath from vpp_ip import DpoProto from vpp_papi import VppEnum +from config import config class ConfigIpsecAH(TemplateIpsec): @@ -526,6 +527,9 @@ class TestIpsecAhAll(ConfigIpsecAH, IpsecTra4, IpsecTra6, IpsecTun4, IpsecTun6): def tearDown(self): super(TestIpsecAhAll, self).tearDown() + @unittest.skipIf( + "ping" in config.excluded_plugins, "Exclude tests requiring Ping plugin" + ) def test_integ_algs(self): """All Engines SHA[1_96, 256, 384, 512] w/ & w/o ESN""" # foreach VPP crypto engine -- cgit 1.2.3-korg