diff options
author | Dmitry Valter <d-valter@yandex-team.com> | 2024-03-11 10:38:46 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-07-12 15:43:24 +0000 |
commit | 34fa0ce8f70a341df432b0baa3deaa1e87c71b95 (patch) | |
tree | e9a282b8376dd6aa7fd904238768f77df137b35a /test/test_ip6.py | |
parent | 7b7bc045f83d0094aa927bfd44d1ac157005a34c (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_ip6.py')
-rw-r--r-- | test/test_ip6.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_ip6.py b/test/test_ip6.py index 84b060aa7a3..25f2c623a0b 100644 --- a/test/test_ip6.py +++ b/test/test_ip6.py @@ -67,6 +67,7 @@ from vpp_policer import VppPolicer, PolicerAction from ipaddress import IPv6Network, IPv6Address from vpp_gre_interface import VppGreInterface from vpp_teib import VppTeib +from config import config AF_INET6 = socket.AF_INET6 @@ -1368,6 +1369,9 @@ class TestIPv6IfAddrRoute(VppTestCase): ) +@unittest.skipIf( + "ping" in config.excluded_plugins, "Exclude tests requiring Ping plugin" +) class TestICMPv6Echo(VppTestCase): """ICMPv6 Echo Test Case""" @@ -3324,6 +3328,9 @@ class TestIP6AddrReplace(VppTestCase): self.assertTrue(pfx.query_vpp_config()) +@unittest.skipIf( + "ping" in config.excluded_plugins, "Exclude tests requiring Ping plugin" +) class TestIP6LinkLocal(VppTestCase): """IPv6 Link Local""" @@ -3416,6 +3423,9 @@ class TestIP6LinkLocal(VppTestCase): p_echo_request_3.dst = self.pg1.local_mac self.send_and_expect(self.pg1, [p_echo_request_3], self.pg1) + @unittest.skipIf( + "gre" in config.excluded_plugins, "Exclude tests requiring GRE plugin" + ) def test_ip6_ll_p2p(self): """IPv6 Link Local P2P (GRE)""" @@ -3445,6 +3455,9 @@ class TestIP6LinkLocal(VppTestCase): self.pg0.unconfig_ip4() gre_if.remove_vpp_config() + @unittest.skipIf( + "gre" in config.excluded_plugins, "Exclude tests requiring GRE plugin" + ) def test_ip6_ll_p2mp(self): """IPv6 Link Local P2MP (GRE)""" |