From 8d8150262b00435c365a43c8f859584901736aff Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Mon, 15 Mar 2021 16:58:10 +0100 Subject: 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 --- src/vnet/policer/test/test_policer_input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/policer') diff --git a/src/vnet/policer/test/test_policer_input.py b/src/vnet/policer/test/test_policer_input.py index 29ae58ad5de..c95f6643ff2 100644 --- a/src/vnet/policer/test/test_policer_input.py +++ b/src/vnet/policer/test/test_policer_input.py @@ -15,7 +15,7 @@ NUM_PKTS = 67 class TestPolicerInput(VppTestCase): """ Policer on an input interface """ - worker_config = "workers 2" + vpp_worker_count = 2 def setUp(self): super(TestPolicerInput, self).setUp() -- cgit 1.2.3-korg