Remove restart_scheduler_service() method
This is no longer used since the CachingScheduler was removed in change I1832da2190be5ef2b04953938860a56a43e8cddf and the related tests were updated. Change-Id: Idfcdb320901cbb9743547f37afe5a36b7425ac12
This commit is contained in:
parent
355b6da96a
commit
e2d7b3af81
@ -429,15 +429,6 @@ class TestCase(testtools.TestCase):
|
|||||||
compute.manager._resource_tracker = None
|
compute.manager._resource_tracker = None
|
||||||
compute.start()
|
compute.start()
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def restart_scheduler_service(scheduler):
|
|
||||||
"""Restart a scheduler service in a realistic way.
|
|
||||||
|
|
||||||
:param scheduler: The nova-scheduler service to be restarted.
|
|
||||||
"""
|
|
||||||
scheduler.stop()
|
|
||||||
scheduler.start()
|
|
||||||
|
|
||||||
def assertJsonEqual(self, expected, observed, message=''):
|
def assertJsonEqual(self, expected, observed, message=''):
|
||||||
"""Asserts that 2 complex data structures are json equivalent.
|
"""Asserts that 2 complex data structures are json equivalent.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user