aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_srv6_ad.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_srv6_ad.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_srv6_ad.py')
-rw-r--r--test/test_srv6_ad.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_srv6_ad.py b/test/test_srv6_ad.py
index 2627df32aa9..dad7c186a93 100644
--- a/test/test_srv6_ad.py
+++ b/test/test_srv6_ad.py
@@ -19,21 +19,21 @@ from scapy.layers.inet import IP, UDP
from util import ppp
-class TestSRv6(VppTestCase):
+class TestSRv6Ad(VppTestCase):
""" SRv6 Dynamic Proxy plugin Test Case """
@classmethod
def setUpClass(self):
- super(TestSRv6, self).setUpClass()
+ super(TestSRv6Ad, self).setUpClass()
@classmethod
def tearDownClass(cls):
- super(TestSRv6, cls).tearDownClass()
+ super(TestSRv6Ad, cls).tearDownClass()
def setUp(self):
""" Perform test setup before each test case.
"""
- super(TestSRv6, self).setUp()
+ super(TestSRv6Ad, self).setUp()
# packet sizes, inclusive L2 overhead
self.pg_packet_sizes = [64, 512, 1518, 9018]
@@ -46,7 +46,7 @@ class TestSRv6(VppTestCase):
"""
self.teardown_interfaces()
- super(TestSRv6, self).tearDown()
+ super(TestSRv6Ad, self).tearDown()
def configure_interface(self,
interface,