From ff66ca92755970c88fbb0f347400786089c11c4b Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Wed, 23 Nov 2022 11:19:31 +0000 Subject: [PATCH] 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 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index ca9b0b3a5a6..2b632295b10 100644 --- a/tox.ini +++ b/tox.ini @@ -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}