Allow external zookeeper in tox py35 runs

During local testing some people run zookeeper in a docker container
or even on a different host (e.g. docker on mac). The tests themselves
support that but for running them within tox we need to pass the
NODEPOOL_ZK_HOST variable.

Change-Id: Iac510bd71be7fda2407032dcd6fc41c5aa6f04cf
This commit is contained in:
Tobias Henkel 2018-03-21 07:42:19 +01:00 committed by Monty Taylor
parent 632ecdefa3
commit 401b30d89d
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ envlist = pep8,py35
basepython = python3
setenv = VIRTUAL_ENV={envdir}
OS_TEST_TIMEOUT=150
passenv = ZUUL_TEST_ROOT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE OS_LOG_DEFAULTS
passenv = ZUUL_TEST_ROOT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE OS_LOG_DEFAULTS NODEPOOL_ZK_HOST
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt