yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11335
[Bug 1290550] [NEW] Base test case should stop mock patches
Public bug reported:
Currently if a unit test creates a patch and does not stop it, the patch
will hang around and could potentially affect other tests that rely on
the mocked class/method. This can make it difficult for developers
creating new tests as unrelated tests could be causing new ones to
sporadically fail or vice versa depending on concurrency and test order.
** 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/1290550
Title:
Base test case should stop mock patches
Status in OpenStack Neutron (virtual network service):
New
Bug description:
Currently if a unit test creates a patch and does not stop it, the
patch will hang around and could potentially affect other tests that
rely on the mocked class/method. This can make it difficult for
developers creating new tests as unrelated tests could be causing new
ones to sporadically fail or vice versa depending on concurrency and
test order.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1290550/+subscriptions
Follow ups
References