Fix Tempest test execution
https://review.openstack.org/348511 changed the way 'tox -eall' was used when calling Tempest. We need to update the command-line used by Packstack to adapt to it. Change-Id: I1d2e00d6c4a8483ad90cfffe07bf6eb461473c88
This commit is contained in:
parent
4737d8cb7d
commit
ac6c734e15
|
@ -56,7 +56,8 @@ def run_tempest(config, messages):
|
|||
print("Running Tempest on %s" % config['CONFIG_TEMPEST_HOST'])
|
||||
server = utils.ScriptRunner(config['CONFIG_TEMPEST_HOST'])
|
||||
server.append('pushd /var/lib/tempest')
|
||||
server.append('tox -eall -- --concurrency=2 %s > %s'
|
||||
% (config['CONFIG_RUN_TEMPEST_TESTS'], logfile))
|
||||
server.append('tox -eall \'(%s)\' -- --concurrency=2 > %s'
|
||||
% (config['CONFIG_RUN_TEMPEST_TESTS'].replace(' ', '|'),
|
||||
logfile))
|
||||
server.append('popd')
|
||||
server.execute()
|
||||
|
|
Loading…
Reference in New Issue