[FT] Run all .*MySQL and .*PostgreSQL tests in an isolated thread

Similar to [1], this patch moves the PostgreSQL tests to a second
test execution step, where all tests are executed with one single
worker, avoiding any parallel execution on the SQL tests.

[1]https://review.opendev.org/c/openstack/neutron/+/834746

Closes-Bug: #1980127
Related-Bug: #1962594
Change-Id: I3a9f665653c3e2a5f75175867a45391e6ad01176
This commit is contained in:
Rodolfo Alonso Hernandez 2022-06-29 15:03:33 +00:00
parent e9a479519f
commit d3ce69b946
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ deps =
{[testenv:functional]deps}
commands =
{toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
stestr run --group-regex .*PostgreSQL\. --exclude-regex .*MySQL\. {posargs}
stestr run --combine --concurrency 1 .*MySQL\. {posargs}
stestr run --exclude-regex (.*MySQL\.|.*PostgreSQL\.) {posargs}
stestr run --combine --concurrency 1 (.*MySQL\.|.*PostgreSQL\.) {posargs}
[testenv:dsvm-fullstack]
setenv = {[testenv]setenv}