From 427a22109a2862f6fca43786c9f304e5172adfc4 Mon Sep 17 00:00:00 2001 From: Brian Rosmaita Date: Tue, 8 May 2018 08:51:03 -0400 Subject: [PATCH] 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 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 21a1567921..4b58dd205b 100644 --- a/tox.ini +++ b/tox.ini @@ -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}