From d3ce69b9465c734d25d1d96c8cb7103834d03dac Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Wed, 29 Jun 2022 15:03:33 +0000 Subject: [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 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 1a7612479d..51ca621199 100644 --- a/tox.ini +++ b/tox.ini @@ -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} -- cgit v1.2.1