diff --git a/nova/tests/fixtures.py b/nova/tests/fixtures.py index c3073bda3..a63c20287 100644 --- a/nova/tests/fixtures.py +++ b/nova/tests/fixtures.py @@ -453,6 +453,10 @@ class CellDatabases(fixtures.Fixture): # NOTE(melwitt): This is a hack to try to deal with # local accesses i.e. non target_cell accesses. with self._cell_lock.read_lock(): + # FIXME(mriedem): This is actually misleading and means we don't + # catch things like bug 1717000 where a context should be targeted + # to a cell but it's not, and the fixture here just returns the + # last targeted context that was used. return self._last_ctxt_mgr def _wrap_get_server(self, target, endpoints, serializer=None):