diff options
author | Radomir Dopieralski <openstack@dopieralski.pl> | 2022-10-12 16:21:36 +0200 |
---|---|---|
committer | Tatiana Ovchinnikova <t.v.ovtchinnikova@gmail.com> | 2023-02-17 23:40:49 +0000 |
commit | d8a415bb0cce28ffbdd0a0a2fbca7dfa17cf6d47 (patch) | |
tree | 81abfbdaa811e310da9b3ef4f8266570135cbf1c | |
parent | 1ea855e310b7ea8bdd5d4ec8342b72c1ccbdc769 (diff) | |
download | horizon-d8a415bb0cce28ffbdd0a0a2fbca7dfa17cf6d47.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.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,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 = |