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:
parent
3a575de520
commit
51c4daebf2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue