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 4eb24797e5
)
This commit is contained in:
parent
3701f2d5cf
commit
ca5609c9b6
2
tox.ini
2
tox.ini
@ -106,7 +106,7 @@ setenv =
|
|||||||
SELENIUM_HEADLESS=False
|
SELENIUM_HEADLESS=False
|
||||||
commands =
|
commands =
|
||||||
oslo-config-generator --namespace openstack_dashboard_integration_tests
|
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]
|
[testenv:npm]
|
||||||
passenv =
|
passenv =
|
||||||
|
Loading…
Reference in New Issue
Block a user