summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <ralonsoh@redhat.com>2022-06-29 15:03:33 +0000
committerRodolfo Alonso Hernandez <ralonsoh@redhat.com>2022-06-29 15:03:33 +0000
commitd3ce69b9465c734d25d1d96c8cb7103834d03dac (patch)
treebb23a5816a8260be751605c89a6b4794bddb501b /tox.ini
parente9a479519f0b7eb9b6aa86811ad992f9d5626111 (diff)
downloadneutron-d3ce69b9465c734d25d1d96c8cb7103834d03dac.tar.gz
[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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
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}