fail_gracefully can exit test suite
Bug #1276885 reported by
Jamie Lennox
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Jamie Lennox |
Bug Description
If an exception happens in the startup phase of keystone (not handling a request) it falls through to the handler @fail_gracefully which is designed to print a big warning message and exit the application.
This makes sense for running keystone but in the case of tests what it means is that the exit() call shuts down the subunit thread running the tests and leads to difficult to diagnose failures being reported - or missed.
In the case of testing @fail_gracefully should fail very ungracefully.
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/71443
Review: https:/