diff options
Diffstat (limited to 'test/test_vlib.py')
-rw-r--r-- | test/test_vlib.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test_vlib.py b/test/test_vlib.py index 1b92c94a4c4..48e32b6e669 100644 --- a/test/test_vlib.py +++ b/test/test_vlib.py @@ -252,6 +252,9 @@ class TestVlibFrameLeak(VppTestCase): i.unconfig_ip4() i.admin_down() + @unittest.skipIf( + "ping" in config.excluded_plugins, "Exclude tests requiring Ping plugin" + ) def test_vlib_mw_refork_frame_leak(self): """Vlib worker thread refork leak test case""" icmp_id = 0xB @@ -271,7 +274,7 @@ class TestVlibFrameLeak(VppTestCase): rx = self.pg0.get_capture(1) - self.assertEquals(len(rx), 1) + self.assertEqual(len(rx), 1) rx = rx[0] ether = rx[Ether] ipv4 = rx[IP] @@ -302,7 +305,7 @@ class TestVlibFrameLeak(VppTestCase): rx = self.pg0.get_capture(1) - self.assertEquals(len(rx), 1) + self.assertEqual(len(rx), 1) rx = rx[0] ether = rx[Ether] ipv4 = rx[IP] |