Handle new oslo.service release
It changes the way timers are run during unit tests, let's add an additional mock. Change-Id: Ia3cd8e13992fd561b88752a2f86ce5eb61ebbefd
This commit is contained in:
parent
60b4a3f13f
commit
4d500932c2
@ -299,6 +299,7 @@ class ServiceEngineTest(common.HeatTestCase):
|
|||||||
cfg.CONF.set_default('periodic_interval', 60)
|
cfg.CONF.set_default('periodic_interval', 60)
|
||||||
self.patchobject(self.eng, 'service_manage_cleanup')
|
self.patchobject(self.eng, 'service_manage_cleanup')
|
||||||
self.patchobject(self.eng, 'reset_stack_status')
|
self.patchobject(self.eng, 'reset_stack_status')
|
||||||
|
self.patchobject(self.eng, 'service_manage_report')
|
||||||
|
|
||||||
self.eng.start()
|
self.eng.start()
|
||||||
# Add dummy thread group to test thread_group_mgr.stop() is executed?
|
# Add dummy thread group to test thread_group_mgr.stop() is executed?
|
||||||
|
Loading…
Reference in New Issue
Block a user