summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMiro Tomaska <mtomaska@redhat.com>2023-03-15 12:26:12 -0500
committerMiro Tomaska <mtomaska@redhat.com>2023-03-16 11:09:10 -0500
commit04d3f889efeef74e8eb8d8bf330f1594913b161a (patch)
tree8db8d02566e85e5ae643cad27bbeb4b1fb2fc701 /tox.ini
parentcc47f4e2ac1d55e5f2239481ad7c5094d1c07c79 (diff)
downloadneutron-04d3f889efeef74e8eb8d8bf330f1594913b161a.tar.gz
Fix metadata agent intermittent test failures
Metadata agent has been experiencing intermittent failures mostly because of test conccurency and how the metadata agent code assumes its the only process running on the system and operating on the ovnmeta-* namespaces. See comment#1 the linked bug for more details. Although I dont like forcing --concurrency 1 for this test class, I think that is going to be the best solution and any new tests that will be added in the future. Closes-Bug: #2011377 Change-Id: Ie7f3b496de6b23be5739fbeba10f53602e8b300d
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 cfa2bfc39f..34eed72955 100644
--- a/tox.ini
+++ b/tox.ini
@@ -79,8 +79,8 @@ setenv = {[testenv:dsvm-functional]setenv}
deps = {[testenv:dsvm-functional]deps}
commands =
bash {toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
- stestr run --exclude-regex (.*MySQL\.|.*PostgreSQL\.|.*test_get_all_devices) {posargs}
- stestr run --combine --concurrency 1 (.*MySQL\.|.*PostgreSQL\.|.*test_get_all_devices) {posargs}
+ stestr run --exclude-regex (.*MySQL\.|.*PostgreSQL\.|.*test_get_all_devices|.*TestMetadataAgent\.) {posargs}
+ stestr run --combine --concurrency 1 (.*MySQL\.|.*PostgreSQL\.|.*test_get_all_devices|.*TestMetadataAgent\.) {posargs}
[testenv:dsvm-fullstack]
setenv = {[testenv]setenv}