summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/test/test_vapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/test/test_vapi.py')
-rw-r--r--src/vpp-api/test/test_vapi.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vpp-api/test/test_vapi.py b/src/vpp-api/test/test_vapi.py
index 09f9f83e984..d91099210d2 100644
--- a/src/vpp-api/test/test_vapi.py
+++ b/src/vpp-api/test/test_vapi.py
@@ -25,8 +25,8 @@ class VAPITestCase(VppTestCase):
self.assertIsNotNone(built_root,
"Environment variable `%s' not set" % var)
executable = "%s/vapi_test/vapi_c_test" % built_root
- worker = Worker(
- [executable, "vapi client", self.shm_prefix], self.logger)
+ worker = Worker([executable, "vapi client",
+ self.get_api_segment_prefix()], self.logger)
worker.start()
timeout = 60
worker.join(timeout)
@@ -54,8 +54,8 @@ class VAPITestCase(VppTestCase):
self.assertIsNotNone(built_root,
"Environment variable `%s' not set" % var)
executable = "%s/vapi_test/vapi_cpp_test" % built_root
- worker = Worker(
- [executable, "vapi client", self.shm_prefix], self.logger)
+ worker = Worker([executable, "vapi client",
+ self.get_api_segment_prefix()], self.logger)
worker.start()
timeout = 120
worker.join(timeout)