run_tests should add/allow failfast

Bug #765069 reported by Jason Kölker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Alex Meade

Bug Description

Currently run_test doesn't allow stopping immediately on the first failure. It would be nice to have this as a command line flag so the test suite would exit as soon as a test doesn't pass. Backporting failfast from 2.7's unittest may be an option.

Related branches

Alex Meade (alex-meade)
Changed in nova:
assignee: nobody → Alex Meade (alex-meade)
Alex Meade (alex-meade)
Changed in nova:
status: New → In Progress
Revision history for this message
Alex Meade (alex-meade) wrote :

Since run_tests actually utilizes nose, just -x, or --stop will do this. I've updated the run_tests.sh usage info to reflect this.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Wishlist
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-1
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-1 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.