diff options
author | Klement Sekera <ksekera@cisco.com> | 2021-03-15 16:58:10 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2021-03-20 01:14:20 +0000 |
commit | 8d8150262b00435c365a43c8f859584901736aff (patch) | |
tree | c7eace6feab4895d6f40b16a54ef65cc63bebe67 /src/plugins/nat/test/test_nat44_ei.py | |
parent | 290526e3c72888ac05928ed0a6dddee02f7df650 (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 'src/plugins/nat/test/test_nat44_ei.py')
-rw-r--r-- | src/plugins/nat/test/test_nat44_ei.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/test/test_nat44_ei.py b/src/plugins/nat/test/test_nat44_ei.py index dcd7f46f073..f5c5abefa9e 100644 --- a/src/plugins/nat/test/test_nat44_ei.py +++ b/src/plugins/nat/test/test_nat44_ei.py @@ -3896,7 +3896,7 @@ class TestNAT44Out2InDPO(MethodHolder): class TestNAT44EIMW(MethodHolder): """ NAT44EI Test Cases (multiple workers) """ - worker_config = "workers %d" % 2 + vpp_worker_count = 2 max_translations = 10240 max_users = 10240 |