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
This commit is contained in:
Anusha Ramineni 2018-01-15 13:38:24 +05:30
parent 3a575de520
commit 51c4daebf2
1 changed files with 1 additions and 1 deletions

View File

@ -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,