diff options
author | Zuul <zuul@review.opendev.org> | 2019-05-30 20:39:43 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-05-30 20:39:43 +0000 |
commit | 653515a45032811b6bc2f1d0fb651472005496ec (patch) | |
tree | d2a3720b2f32b22a9985af5d7984815fea47b5a5 /nova/test.py | |
parent | c5ee0b83414f0f938c99894d243f0e5e507feb00 (diff) | |
parent | 8354f42e20da952a6ab5612363afb77386886df0 (diff) | |
download | nova-653515a45032811b6bc2f1d0fb651472005496ec.tar.gz |
Merge "Count instances from mappings and cores/ram from placement"
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 048d0a2e0c..d15cb64b28 100644 --- a/nova/test.py +++ b/nova/test.py @@ -60,6 +60,7 @@ from nova.network import manager as network_manager from nova.network.security_group import openstack_driver from nova import objects from nova.objects import base as objects_base +from nova import quota from nova.tests import fixtures as nova_fixtures from nova.tests.unit import conf_fixture from nova.tests.unit import matchers @@ -316,6 +317,9 @@ class TestCase(testtools.TestCase): self.flags(build_failure_weight_multiplier=0.0, group='filter_scheduler') + # NOTE(melwitt): Reset the cached set of projects + quota.UID_QFD_POPULATED_CACHE_BY_PROJECT = set() + def _setup_cells(self): """Setup a normal cellsv2 environment. |