← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1301084] [NEW] Unit test exceptions get lost inside of context managers

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

-- 
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


Follow ups

References