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
diff --git a/test/test_srv6_as.py b/test/test_srv6_as.py
index eec44e3..947633e 100644
--- a/test/test_srv6_as.py
+++ b/test/test_srv6_as.py
@@ -18,21 +18,21 @@
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 @@
"""
self.teardown_interfaces()
- super(TestSRv6, self).tearDown()
+ super(TestSRv6As, self).tearDown()
def configure_interface(self,
interface,