Re-run failed Tempest tests

Add the ability to re-run the tempest tests that failed in the last test
execution. Sometimes Tempest tests fail due to a special temporary
condition in the environment, in such cases it is very useful to be able
to re-execute those tests.

Running the following command will re-run all the test that failed
during the last test execution regardless of what test suite was run.
$ rally verify start --failing

Change-Id: Ieccb6d2a28175c3445d028e81ae2718e4fce375b
Implements: blueprint re-run-failed-tempest-tests
This commit is contained in:
Castulo J. Martinez 2015-11-11 09:05:33 -08:00
parent 162181c011
commit 240253772f

View File

@ -56,7 +56,7 @@ _rally()
OPTS["verify_results"]="--uuid --html --json --output-file"
OPTS["verify_show"]="--uuid --sort-by --detailed"
OPTS["verify_showconfig"]="--deployment"
OPTS["verify_start"]="--deployment --set --regex --tests-file --tempest-config --xfails-file --no-use --system-wide --concurrency"
OPTS["verify_start"]="--deployment --set --regex --tests-file --tempest-config --xfails-file --no-use --system-wide --concurrency --failing"
OPTS["verify_uninstall"]="--deployment"
OPTS["verify_use"]="--uuid"