Correct tox env override

TOX_TESTENV_PASSENV is space separated, not comma separated.

Change-Id: I4bd3d2b61d27772bb88aa7911220baba0a08620c
This commit is contained in:
James E. Blair 2016-01-08 12:08:33 -08:00
parent c8a5695a15
commit 081d8b96b1

View File

@ -39,7 +39,7 @@ def reusable_node(item, job, params):
def set_node_options(item, job, params):
# Force tox to pass through ZUUL_ variables
zuul_params = [x for x in params.keys() if x.startswith('ZUUL_')]
params['TOX_TESTENV_PASSENV'] = ','.join(zuul_params)
params['TOX_TESTENV_PASSENV'] = ' '.join(zuul_params)
# Set up log url parameter for all jobs
set_log_url(item, job, params)
# Default to single use node. Potentially overriden below.