From e2617ccbc28ded2dc73a6b59174e2f1e4468e769 Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Wed, 7 Sep 2022 12:19:05 +0200 Subject: 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 --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index d7f5731695..50e855b401 100644 --- a/tox.ini +++ b/tox.ini @@ -62,6 +62,13 @@ setenv = {[testenv:functional]setenv} {[testenv:dsvm]setenv} 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} -- cgit v1.2.1