diff options
author | Slawek Kaplonski <skaplons@redhat.com> | 2022-09-07 12:19:05 +0200 |
---|---|---|
committer | Slawek Kaplonski <skaplons@redhat.com> | 2022-09-07 12:19:05 +0200 |
commit | e2617ccbc28ded2dc73a6b59174e2f1e4468e769 (patch) | |
tree | b1be702c3d11cb8befbd5d4400352109373093e0 /tox.ini | |
parent | fdbd817c274e104faa0756ad41ec23093cf072a1 (diff) | |
download | neutron-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.ini | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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} |