summaryrefslogtreecommitdiffstats
path: root/test/test_vppinfra.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-03-15 16:58:10 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2021-03-20 01:14:20 +0000
commit8d8150262b00435c365a43c8f859584901736aff (patch)
treec7eace6feab4895d6f40b16a54ef65cc63bebe67 /test/test_vppinfra.py
parent290526e3c72888ac05928ed0a6dddee02f7df650 (diff)
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>
Diffstat (limited to 'test/test_vppinfra.py')
-rw-r--r--test/test_vppinfra.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_vppinfra.py b/test/test_vppinfra.py
index 9cb782d3593..8b6ec965fea 100644
--- a/test/test_vppinfra.py
+++ b/test/test_vppinfra.py
@@ -8,7 +8,7 @@ from framework import running_gcov_tests
class TestVppinfra(VppTestCase):
""" Vppinfra Unit Test Cases """
- worker_config = "workers 1"
+ vpp_worker_count = 1
@classmethod
def setUpClass(cls):