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:
parent
ca062fb39d
commit
189ca47598
0
glance/tests/functional/serial/__init__.py
Normal file
0
glance/tests/functional/serial/__init__.py
Normal file
1
serial-functests.txt
Normal file
1
serial-functests.txt
Normal file
@ -0,0 +1 @@
|
||||
^glance\.tests\.functional\.serial\.*
|
6
tox.ini
6
tox.ini
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user