diff options
author | Miro Tomaska <mtomaska@redhat.com> | 2023-03-15 12:26:12 -0500 |
---|---|---|
committer | Miro Tomaska <mtomaska@redhat.com> | 2023-03-16 11:09:10 -0500 |
commit | 04d3f889efeef74e8eb8d8bf330f1594913b161a (patch) | |
tree | 8db8d02566e85e5ae643cad27bbeb4b1fb2fc701 /tox.ini | |
parent | cc47f4e2ac1d55e5f2239481ad7c5094d1c07c79 (diff) | |
download | neutron-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.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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} |