yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12927
[Bug 1301084] Re: Unit test exceptions get lost inside of context managers
*** This bug is a duplicate of bug 1295887 ***
https://bugs.launchpad.net/bugs/1295887
** This bug has been marked a duplicate of bug 1295887
unit test contextmanager: trying to delete resource hides original errors
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1301084
Title:
Unit test exceptions get lost inside of context managers
Status in OpenStack Neutron (virtual network service):
New
Bug description:
If an assertion fails or another exception is raised inside of a
plugin db unit test, the unwinding of the built up resources from the
router, subnet, port, network, and floatingip contexts will often
raise another exception due to dangling dependencies. This wipes out
the real cause of the unit test failure and replaces it with a code
mismatch error from one of the delete calls that doesn't help the
developer understand the unit test failure.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1301084/+subscriptions
References