Run scrubber functional tests in serial mode

The current scrubber functional tests seem to be confusing the subunit parser.
This patch modifies the functional test definition in tox.ini to run serial
tests separately from the "regular" functional tests and moves the current
scrubber tests to the 'serial' directory

Change-Id: I041c90aa8854bca30f9ea7b0c9d81e41f79cb81e
Partial-bug: #1768077
This commit is contained in:
Brian Rosmaita 2018-05-07 12:26:03 -04:00
parent ca062fb39d
commit 189ca47598
4 changed files with 5 additions and 2 deletions

1
serial-functests.txt Normal file
View File

@ -0,0 +1 @@
^glance\.tests\.functional\.serial\.*

View File

@ -39,14 +39,16 @@ commands = ostestr --slowest {posargs}
setenv =
TEST_PATH = ./glance/tests/functional
commands =
ostestr {posargs}
stestr run --blacklist-file ./serial-functests.txt {posargs}
stestr run --serial --combine --whitelist-file ./serial-functests.txt {posargs}
[testenv:functional-py35]
basepython = python3.5
setenv =
TEST_PATH = ./glance/tests/functional
commands =
ostestr '{posargs}'
stestr run --blacklist-file ./serial-functests.txt {posargs}
stestr run --serial --combine --whitelist-file ./serial-functests.txt {posargs}
[testenv:pep8]
commands =