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