From 672f4663b2ecb639f5bb27e150289518758ff046 Mon Sep 17 00:00:00 2001 From: Dawid Deja Date: Thu, 2 Feb 2017 17:01:48 +0100 Subject: [PATCH] Fix for failing gates We were launching the tests using run_tests.sh with flag 'V' set, which makes the tests beeing run in the virtualenv. However, the tests are already beeing run in virtualenv since they are beeing run by tox. So we basically made virtualenv inside the virtualenv. Closes-bug: 1659819 Change-Id: If647e44a43e730f00b01c597cde0c2345f8b780f --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 87f50f25a..bb6de919e 100644 --- a/tox.ini +++ b/tox.ini @@ -21,12 +21,12 @@ whitelist_externals = [testenv:unit-postgresql] setenv = VIRTUAL_ENV={envdir} passenv = ZUUL_PROJECT -commands = ./run_tests.sh -V --db-type postgresql +commands = ./run_tests.sh -N --db-type postgresql [testenv:unit-mysql] setenv = VIRTUAL_ENV={envdir} passenv = ZUUL_PROJECT -commands = ./run_tests.sh -V --db-type mysql +commands = ./run_tests.sh -N --db-type mysql [testenv:pep8] commands = flake8 {posargs} . {toxinidir}/tools/get_action_list.py {toxinidir}/tools/sync_db.py