summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <ralonsoh@redhat.com>2021-04-09 07:29:58 +0000
committerRodolfo Alonso <ralonsoh@redhat.com>2021-04-09 09:52:11 +0000
commit7326fd622f2c3cb36681136d79e39e4efdda5411 (patch)
tree4997cfbf4dbb7dd9ea5291fb1dfd8e84148f13c4 /tox.ini
parentbdd661d21898d573ef39448316860aa4c692b834 (diff)
downloadneutron-7326fd622f2c3cb36681136d79e39e4efdda5411.tar.gz
Group execution of SQL functional tests
Functional SQL tests (MySQL and PostgreSQL) use the DB installed backend. To avoid overloading the DB engine, the test cases are grouped [1] together and executed by the same worker process. That will ensure those tests are not executed in parallel, interfering each other. Classes that are grouped: - TestModelsMigrationsMysql - TestModelsMigrationsPsql [1]https://stestr.readthedocs.io/en/latest/MANUAL.html#group-regex Related-Bug: #1687027 Change-Id: If04e360c01cdb16e956d16357e2181db55445137
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index e05bf44483..0d65b024fc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -63,7 +63,7 @@ deps =
{[testenv:functional]deps}
commands =
{toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
- stestr run {posargs}
+ stestr run --group_regex=neutron\.tests\.functional\.db\.test_migrations\.(TestModelsMigrationsPsql|TestModelsMigrationsMysql) {posargs}
[testenv:dsvm-fullstack]
setenv = {[testenv]setenv}