summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@dopieralski.pl>2022-10-12 16:21:36 +0200
committerTatiana Ovchinnikova <t.v.ovtchinnikova@gmail.com>2023-02-15 21:52:02 +0000
commitca5609c9b6a5313251d1e187455ee304af6782bc (patch)
tree75b4d556c63ab3ddd8056c658c81b980d7bb02c4
parent3701f2d5cf404daff358f8a3f88c5ec5345188ac (diff)
downloadhorizon-ca5609c9b6a5313251d1e187455ee304af6782bc.tar.gz
Make integration tests stop on first failure
This should save us some time and decrease the server load. If a single test failed, we already know the patch is bad (or the tests need to be rerun) so it makes no sense to execute the rest of the tests on the gate. Change-Id: Ic56d5e192487d444afd0cdf0bce5e1a691ba087c (cherry picked from commit 4eb24797e53a39ec42c70768c160a838400aeadb)
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 07e0741bd..714553090 100644
--- a/tox.ini
+++ b/tox.ini
@@ -106,7 +106,7 @@ setenv =
SELENIUM_HEADLESS=False
commands =
oslo-config-generator --namespace openstack_dashboard_integration_tests
- pytest --ds=openstack_dashboard.test.settings -v --junitxml="{toxinidir}/test_reports/integration_test_results.xml" --html="{toxinidir}/test_reports/integration_test_results.html" --self-contained-html {posargs:{toxinidir}/openstack_dashboard/test/integration_tests}
+ pytest --ds=openstack_dashboard.test.settings -v -x --junitxml="{toxinidir}/test_reports/integration_test_results.xml" --html="{toxinidir}/test_reports/integration_test_results.html" --self-contained-html {posargs:{toxinidir}/openstack_dashboard/test/integration_tests}
[testenv:npm]
passenv =