Test result sorting doesn't always sort failed test classes at the top of the HTML page
Bug #1640889 reported by
melanie witt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-testr |
Fix Released
|
Undecided
|
melanie witt |
Bug Description
I noticed a case where the sorting doesn't put a test class with a failure at the top of the HTML result page.
Example:
nova.tests.
test_user_
test_invalid_
test_user_only fail
test_request_
test_no_
test_user_id_only pass
Because the first test in the class passes, the class was considered to be a "passing class" and was not sorted to the top of the results even though it had a failure in the third test. The current logic only considers the first occurrence of a test class and doesn't update a test class's status after that.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/396350
Review: https:/