diff options
Diffstat (limited to 'nova/test.py')
-rw-r--r-- | nova/test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/test.py b/nova/test.py index a6449c01f0..35fef9cdd7 100644 --- a/nova/test.py +++ b/nova/test.py @@ -61,6 +61,7 @@ from nova import exception from nova import objects from nova.objects import base as objects_base from nova import quota +from nova.scheduler.client import report from nova.tests import fixtures as nova_fixtures from nova.tests.unit import matchers from nova import utils @@ -290,6 +291,9 @@ class TestCase(base.BaseTestCase): # instead of only once initialized for test worker wsgi_app.init_global_data.reset() + # Reset the placement client singleton + report.PLACEMENTCLIENT = None + def _setup_cells(self): """Setup a normal cellsv2 environment. |