TEMPEST_CONFIG_DIR={env:TEMPEST_CONFIG_DIR:/opt/stack/tempest/etc}
OS_TEST_API_WITH_REST=1
+[testenv:common]
+# Fake job to define environment variables shared between dsvm/non-dsvm jobs
+setenv = OS_TEST_TIMEOUT=180
+commands = false
+
+[testenv:dsvm]
+# Fake job to define environment variables shared between dsvm jobs
+setenv = OS_SUDO_TESTING=1
+ OS_ROOTWRAP_CMD=sudo {envdir}/bin/neutron-rootwrap {envdir}/etc/neutron/rootwrap.conf
+ OS_ROOTWRAP_DAEMON_CMD=sudo {envdir}/bin/neutron-rootwrap-daemon {envdir}/etc/neutron/rootwrap.conf
+ OS_FAIL_ON_MISSING_DEPS=1
+commands = false
+
[testenv:functional]
basepython = python2.7
setenv = {[testenv]setenv}
+ {[testenv:common]setenv}
OS_TEST_PATH=./neutron/tests/functional
- OS_TEST_TIMEOUT=180
deps =
{[testenv]deps}
-r{toxinidir}/neutron/tests/functional/requirements.txt
[testenv:dsvm-functional]
basepython = python2.7
-setenv = {[testenv]setenv}
- OS_TEST_PATH=./neutron/tests/functional
- OS_SUDO_TESTING=1
- OS_ROOTWRAP_CMD=sudo {envdir}/bin/neutron-rootwrap {envdir}/etc/neutron/rootwrap.conf
- OS_ROOTWRAP_DAEMON_CMD=sudo {envdir}/bin/neutron-rootwrap-daemon {envdir}/etc/neutron/rootwrap.conf
- OS_FAIL_ON_MISSING_DEPS=1
- OS_TEST_TIMEOUT=180
+setenv = {[testenv:functional]setenv}
+ {[testenv:dsvm]setenv}
sitepackages=True
deps =
{[testenv:functional]deps}
[testenv:fullstack]
setenv = {[testenv]setenv}
+ {[testenv:common]setenv}
OS_TEST_PATH=./neutron/tests/fullstack
- OS_TEST_TIMEOUT=180
deps =
{[testenv]deps}
-r{toxinidir}/neutron/tests/functional/requirements.txt
[testenv:dsvm-fullstack]
-setenv = {[testenv]setenv}
- OS_TEST_PATH=./neutron/tests/fullstack
- OS_SUDO_TESTING=1
- OS_ROOTWRAP_CMD=sudo {envdir}/bin/neutron-rootwrap {envdir}/etc/neutron/rootwrap.conf
- OS_ROOTWRAP_DAEMON_CMD=sudo {envdir}/bin/neutron-rootwrap-daemon {envdir}/etc/neutron/rootwrap.conf
- OS_FAIL_ON_MISSING_DEPS=1
- OS_TEST_TIMEOUT=180
+setenv = {[testenv:fullstack]setenv}
+ {[testenv:dsvm]setenv}
sitepackages=True
deps =
{[testenv:functional]deps}