yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #18674
[Bug 1316401] Re: Use of MagicMocks causes unnecessary memory use
** Also affects: neutron/icehouse
Importance: Undecided
Status: New
** Changed in: neutron/icehouse
Milestone: None => 2014.1.2
** Changed in: neutron/icehouse
Status: New => Fix Committed
** Tags removed: icehouse-backport-potential
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1316401
Title:
Use of MagicMocks causes unnecessary memory use
Status in OpenStack Neutron (virtual network service):
In Progress
Status in neutron icehouse series:
Fix Committed
Bug description:
There are many locations throughout the code-base that make use of
MagicMocks to capture and prevent external calls. However, several of
them never have assertions made on them so the fact that they record
all of the calls made to them is a waste of memory. This is especially
true for long-lived ones that span many tests and may record hundreds
of calls (e.g. RPC notifier mocks).
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1316401/+subscriptions
References