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:
@@ -56,7 +56,8 @@ def run_tempest(config, messages):
|
|||||||
print("Running Tempest on %s" % config['CONFIG_TEMPEST_HOST'])
|
print("Running Tempest on %s" % config['CONFIG_TEMPEST_HOST'])
|
||||||
server = utils.ScriptRunner(config['CONFIG_TEMPEST_HOST'])
|
server = utils.ScriptRunner(config['CONFIG_TEMPEST_HOST'])
|
||||||
server.append('pushd /var/lib/tempest')
|
server.append('pushd /var/lib/tempest')
|
||||||
server.append('tox -eall -- --concurrency=2 %s > %s'
|
server.append('tox -eall \'(%s)\' -- --concurrency=2 > %s'
|
||||||
% (config['CONFIG_RUN_TEMPEST_TESTS'], logfile))
|
% (config['CONFIG_RUN_TEMPEST_TESTS'].replace(' ', '|'),
|
||||||
|
logfile))
|
||||||
server.append('popd')
|
server.append('popd')
|
||||||
server.execute()
|
server.execute()
|
||||||
|
|||||||
Reference in New Issue
Block a user