From 51c4daebf269d075ec8ee94887008a6122fc0879 Mon Sep 17 00:00:00 2001 From: Anusha Ramineni Date: Mon, 15 Jan 2018 13:38:24 +0530 Subject: [PATCH] Use executable from sys path As tempest tests are in seperate repo, relative path doesn't work, let the executable be pick from the sys path instead Partially-Implements blueprint split-tempest-plugin Change-Id: Ie2a73e61c72a8822a49a2a50970d717cfdd86239 --- congress_tempest_plugin/tests/scenario/congress_ha/test_ha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/congress_tempest_plugin/tests/scenario/congress_ha/test_ha.py b/congress_tempest_plugin/tests/scenario/congress_ha/test_ha.py index 1ce60fa..120c0aa 100644 --- a/congress_tempest_plugin/tests/scenario/congress_ha/test_ha.py +++ b/congress_tempest_plugin/tests/scenario/congress_ha/test_ha.py @@ -102,7 +102,7 @@ class TestHA(manager_congress.ScenarioPolicyBase): def start_service(self, name, conf_file): service = '--' + name node = name + '-replica-node' - args = ['bin/congress-server', service, + args = ['congress-server', service, '--node-id', node, '--config-file', conf_file] p = subprocess.Popen(args, stdout=subprocess.PIPE,