Prevent early exit from functional tests

Default behavior in tox is to bail when there's a failure in a set
of commands in a testenv.  Now that the functional tests run multiple
commands, this behavior isn't desirable.  Add the ignore_errors
configuration to the two functional testenvs so all functional tests
will be run.

Change-Id: I8525d0988c6df4d3339e2ac68dc9b6effe07231f
This commit is contained in:
Brian Rosmaita 2018-05-08 08:51:03 -04:00
parent 189ca47598
commit 427a22109a

View File

@ -38,6 +38,7 @@ commands = ostestr --slowest {posargs}
[testenv:functional]
setenv =
TEST_PATH = ./glance/tests/functional
ignore_errors = True
commands =
stestr run --blacklist-file ./serial-functests.txt {posargs}
stestr run --serial --combine --whitelist-file ./serial-functests.txt {posargs}
@ -46,6 +47,7 @@ commands =
basepython = python3.5
setenv =
TEST_PATH = ./glance/tests/functional
ignore_errors = True
commands =
stestr run --blacklist-file ./serial-functests.txt {posargs}
stestr run --serial --combine --whitelist-file ./serial-functests.txt {posargs}