tests: add support for worker awareness 49/31649/13
authorKlement Sekera <ksekera@cisco.com>
Mon, 15 Mar 2021 15:58:10 +0000 (16:58 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Sat, 20 Mar 2021 01:14:20 +0000 (01:14 +0000)
commit8d8150262b00435c365a43c8f859584901736aff
treec7eace6feab4895d6f40b16a54ef65cc63bebe67
parent290526e3c72888ac05928ed0a6dddee02f7df650
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>
13 files changed:
src/plugins/nat/test/test_nat44_ed.py
src/plugins/nat/test/test_nat44_ei.py
src/plugins/quic/test/test_quic.py
src/plugins/wireguard/test/test_wireguard.py
src/vnet/policer/test/test_policer_input.py
test/framework.py
test/template_ipsec.py
test/test_ip4.py
test/test_ip6.py
test/test_ipsec_esp.py
test/test_reassembly.py
test/test_vlib.py
test/test_vppinfra.py