From 6d95f8c983efc3da613cf591dc4070c3560a9d41 Mon Sep 17 00:00:00 2001 From: Tianyu Li Date: Fri, 25 Feb 2022 05:51:10 +0000 Subject: tests: fix test failure with parrallel test Several test cases re-use the same test class name, which leads to test error when do parrallel test with TEST_JOBS=16, change the test class names to unique values. Type: fix Signed-off-by: Tianyu Li Change-Id: Iefc01d40a25ebd60533baf3a2dc98a537437e8e9 --- test/test_ipip.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/test_ipip.py') diff --git a/test/test_ipip.py b/test/test_ipip.py index 8e16c80f05f..b1ea57d7e12 100644 --- a/test/test_ipip.py +++ b/test/test_ipip.py @@ -1222,21 +1222,21 @@ class TestIPIP6(VppTestCase): return 'x' * len -class TestMPLS(VppTestCase): +class TestIPIPMPLS(VppTestCase): """ MPLS Test Case """ @classmethod def setUpClass(cls): - super(TestMPLS, cls).setUpClass() + super(TestIPIPMPLS, cls).setUpClass() cls.create_pg_interfaces(range(2)) cls.interfaces = list(cls.pg_interfaces) @classmethod def tearDownClass(cls): - super(TestMPLS, cls).tearDownClass() + super(TestIPIPMPLS, cls).tearDownClass() def setUp(self): - super(TestMPLS, self).setUp() + super(TestIPIPMPLS, self).setUp() for i in self.interfaces: i.admin_up() i.config_ip4() @@ -1246,7 +1246,7 @@ class TestMPLS(VppTestCase): i.resolve_ndp() def tearDown(self): - super(TestMPLS, self).tearDown() + super(TestIPIPMPLS, self).tearDown() for i in self.pg_interfaces: i.unconfig_ip4() -- cgit 1.2.3-korg