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
This commit is contained in:
parent
cc47f4e2ac
commit
04d3f889ef
4
tox.ini
4
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}
|
||||
|
|
Loading…
Reference in New Issue