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