From 6453df36cdc52666b989ba1dfafde7cb31095bf2 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Mon, 7 Nov 2016 10:41:12 -0500 Subject: [PATCH] configure tox to allow OS_TEST_TIMEOUT env var to pass through By default tox does not pass environment variables to the processes it runs. Add OS_TEST_TIMEOUT to the whitelist so that a developer running the tests locally can update the timeout for the database tests that run on a slow box. Change-Id: I1300c0d8c0b8a0d5011fc5d2ac028f3ab2527593 Signed-off-by: Doug Hellmann --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index f710da16..33fc6b29 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,7 @@ usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} +passenv = OS_TEST_TIMEOUT deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = bash tools/pretty_tox.sh '{posargs}'