diff options
author | Mehdi Abaakouk <sileht@redhat.com> | 2015-08-21 09:34:41 +0200 |
---|---|---|
committer | Mehdi Abaakouk <sileht@redhat.com> | 2015-08-21 14:41:51 +0200 |
commit | 5ba15a556d18cbc9af119652cc6a8a11ac2293d3 (patch) | |
tree | 8010a6ef9ff6671b981bc19edd2dd48f4765e315 /tox.ini | |
parent | e89f38d7787761c13d5f59175cec6e37ac007048 (diff) | |
download | ceilometer-5ba15a556d18cbc9af119652cc6a8a11ac2293d3.tar.gz |
integration test: failfast
This change uses 'gabbi-run -x' instead of 'testr'
to stop at the first errors.
We loose the testr report, but currentlty we have
only one scenario, this is not a big deal.
Change-Id: I9ca50592e959fec4669bef3d8e645268d2d3c3d5
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -55,8 +55,11 @@ setenv = VIRTUAL_ENV={envdir} OS_TEST_TIMEOUT=2400 GABBI_LIVE_FAIL_IF_NO_TEST=1 passenv = HEAT_* CEILOMETER_* GNOCCHI_* AODH_* GLANCE_* NOVA_* ADMIN_* +# FIXME(sileht): run gabbi-run to failfast in case of error because testr +# doesn't support --failfast, but we loose the testr report. commands = - bash -x {toxinidir}/tools/pretty_tox.sh "{posargs}" + bash -c 'gabbi-run -x < ceilometer/tests/integration/gabbi/gabbits-live/autoscaling.yaml' +# bash -x {toxinidir}/tools/pretty_tox.sh "{posargs}" # NOTE(chdent): The gabbi tests are also run under the primary tox # targets. This target simply provides a target to directly run just |