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
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user