summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSlawek Kaplonski <skaplons@redhat.com>2022-09-07 12:19:05 +0200
committerSlawek Kaplonski <skaplons@redhat.com>2022-09-07 12:19:05 +0200
commite2617ccbc28ded2dc73a6b59174e2f1e4468e769 (patch)
treeb1be702c3d11cb8befbd5d4400352109373093e0 /tox.ini
parentfdbd817c274e104faa0756ad41ec23093cf072a1 (diff)
downloadneutron-e2617ccbc28ded2dc73a6b59174e2f1e4468e769.tar.gz
Add dsvm-functional-gate tox environment
In the neutron gate we want to run functional tests in 2 steps: * all tests except MySQL and PostgreSQL tests, * MySQL and PostgreSQL tests runs serially And that was done like that in the dsvm-functional tox environment. But there is no really point to run it as such always when someone e.g. runs some tests from the functional tests suite locally, using dsvm-functional environment. So this patch adds dsvm-functional-gate environment which will be used in the Zuul jobs and will have this 2 steps configuration. Regular dsvm-functional env will run all tests together. Change-Id: Ic66d9961393d9dff64ebd14802ad38c18808b1da
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index d7f5731695..50e855b401 100644
--- a/tox.ini
+++ b/tox.ini
@@ -64,6 +64,13 @@ deps =
{[testenv:functional]deps}
commands =
{toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
+ stestr run {posargs}
+
+[testenv:dsvm-functional-gate]
+setenv = {[testenv:dsvm-functional]setenv}
+deps = {[testenv:dsvm-functional]deps}
+commands =
+ {toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
stestr run --exclude-regex (.*MySQL\.|.*PostgreSQL\.) {posargs}
stestr run --combine --concurrency 1 (.*MySQL\.|.*PostgreSQL\.) {posargs}