Execute functional test "test_get_all_devices" alone

Since [1], the functional tests are being executed in Ubuntu 22.04.
The test "test_get_all_devices" is failing frequently, maybe because
other tests are interfering and modifying the root namespace
interface list.

Because this test cannot be executed inside a temporary namespace,
this patch moves the execution of this test to the section of
"concurrency=1". That will ensure no other test interferes the
result.

Closes-Bug: #1997341

Change-Id: If0631bf0cdfd5f0989c60d40e31f89cee317e497
This commit is contained in:
Rodolfo Alonso Hernandez 2022-11-23 11:19:31 +00:00
parent 4ab56dbb51
commit ff66ca9275

View File

@ -71,8 +71,8 @@ setenv = {[testenv:dsvm-functional]setenv}
deps = {[testenv:dsvm-functional]deps}
commands =
{toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
stestr run --exclude-regex (.*MySQL\.|.*PostgreSQL\.) {posargs}
stestr run --combine --concurrency 1 (.*MySQL\.|.*PostgreSQL\.) {posargs}
stestr run --exclude-regex (.*MySQL\.|.*PostgreSQL\.|.*test_get_all_devices) {posargs}
stestr run --combine --concurrency 1 (.*MySQL\.|.*PostgreSQL\.|.*test_get_all_devices) {posargs}
[testenv:dsvm-fullstack]
setenv = {[testenv]setenv}