From 45ab3ecb1897f5be4b2f9267bd64b15c06d0d022 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Sun, 8 Nov 2020 14:36:19 -0800 Subject: session: default to using memfd mq segments First step towards deprecating the use of binary api's segment for mq allocation. Type: improvement Signed-off-by: Florin Coras Change-Id: I9d3d17e4d406575d64e0426bb65465130a84980a --- src/vcl/test/test_vcl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vcl') diff --git a/src/vcl/test/test_vcl.py b/src/vcl/test/test_vcl.py index ea57c90be2e..37ede7b6979 100644 --- a/src/vcl/test/test_vcl.py +++ b/src/vcl/test/test_vcl.py @@ -86,7 +86,7 @@ class VCLTestCase(VppTestCase): self.vapi.session_enable_disable(is_enabled=0) def cut_thru_test(self, server_app, server_args, client_app, client_args): - self.env = {'VCL_API_PREFIX': self.shm_prefix, + self.env = {'VCL_VPP_API_SOCKET': self.api_sock, 'VCL_APP_SCOPE_LOCAL': "true"} worker_server = VCLAppWorker(self.build_dir, server_app, server_args, self.logger, self.env) @@ -191,7 +191,7 @@ class VCLTestCase(VppTestCase): @unittest.skipUnless(_have_iperf3, "'%s' not found, Skipping.") def thru_host_stack_test(self, server_app, server_args, client_app, client_args): - self.env = {'VCL_API_PREFIX': self.shm_prefix, + self.env = {'VCL_VPP_API_SOCKET': self.api_sock, 'VCL_APP_SCOPE_GLOBAL': "true", 'VCL_APP_NAMESPACE_ID': "1", 'VCL_APP_NAMESPACE_SECRET': "1234"} -- cgit 1.2.3-korg