Patch in cisco unit test not being correctly cleared by stopall
Bug #1307025 reported by
Kevin Benton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Kevin Benton |
Bug Description
A recent patch removed the explicit patch stops from most of the unit tests to let the default mock.patch.stopall handle the cleanup[1]. However, there appears to be cases where stopall loses the reference to a patch and doesn't stop it correctly. In this particular case, the nexus test patch to sys.modules is not being stopped correctly so it's causing unit test failures in the gate[2].
1. https:/
2. http://
Changed in neutron: | |
assignee: | nobody → Kevin Benton (kevinbenton) |
Changed in neutron: | |
importance: | Undecided → High |
milestone: | none → ongoing |
Changed in neutron: | |
milestone: | ongoing → juno-rc1 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-rc1 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/87097
Review: https:/