Merge "Make service all-cells min version helper use scatter-gather"

This commit is contained in:
Zuul 2018-04-30 10:36:19 +00:00 committed by Gerrit Code Review
commit 07d982aa1c

View File

@ -1040,6 +1040,9 @@ class AllServicesCurrent(fixtures.Fixture):
self.useFixture(fixtures.MonkeyPatch( self.useFixture(fixtures.MonkeyPatch(
'nova.objects.Service.get_minimum_version_multi', 'nova.objects.Service.get_minimum_version_multi',
self._fake_minimum)) self._fake_minimum))
self.useFixture(fixtures.MonkeyPatch(
'nova.objects.service.get_minimum_version_all_cells',
lambda *a, **k: service_obj.SERVICE_VERSION))
compute_rpcapi.LAST_VERSION = None compute_rpcapi.LAST_VERSION = None
def _fake_minimum(self, *args, **kwargs): def _fake_minimum(self, *args, **kwargs):