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
This commit is contained in:
Dmitry Valter
2024-03-11 10:38:46 +00:00
committed by Dave Wallace
parent 7b7bc045f8
commit 34fa0ce8f7
68 changed files with 351 additions and 0 deletions

View File

@ -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