aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ipip.py
diff options
context:
space:
mode:
authorTianyu Li <tianyu.li@arm.com>2022-02-25 05:51:10 +0000
committerTianyu Li <tianyu.li@arm.com>2022-03-10 14:08:19 +0800
commit6d95f8c983efc3da613cf591dc4070c3560a9d41 (patch)
treeebaccf113d4584efec2aef664cc4c141aaf0c80f /test/test_ipip.py
parent400d459bc1cfa9a5089a2bfb942e59e81ec0fdf1 (diff)
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 <tianyu.li@arm.com> Change-Id: Iefc01d40a25ebd60533baf3a2dc98a537437e8e9
Diffstat (limited to 'test/test_ipip.py')
-rw-r--r--test/test_ipip.py10
1 files changed, 5 insertions, 5 deletions
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()