tests: add support for worker awareness
VppTestCase now has vpp_worker_count property set to number of workers. This can be overriden by child classes. Also overriden by VPP_WORKER_CONFIG variable for legacy reasons. Type: improvement Change-Id: Ic328bacb9003ddf9e92815767653bd362aa7f086 Signed-off-by: Klement Sekera <ksekera@cisco.com>
This commit is contained in:

committed by
Andrew Yourtchenko

parent
290526e3c7
commit
8d8150262b
@ -2320,7 +2320,7 @@ class TestIP6Punt(IP6PuntSetup, VppTestCase):
|
||||
|
||||
class TestIP6PuntHandoff(IP6PuntSetup, VppTestCase):
|
||||
""" IPv6 Punt Police/Redirect """
|
||||
worker_config = "workers 2"
|
||||
vpp_worker_count = 2
|
||||
|
||||
def setUp(self):
|
||||
super(TestIP6PuntHandoff, self).setUp()
|
||||
|
Reference in New Issue
Block a user