Browse Source

Handle new oslo.service release

It changes the way timers are run during unit tests, let's add an
additional mock.

Change-Id: Ia3cd8e13992fd561b88752a2f86ce5eb61ebbefd
changes/75/568775/1
Thomas Herve 4 years ago
parent
commit
4d500932c2
  1. 1
      heat/tests/engine/service/test_service_engine.py

1
heat/tests/engine/service/test_service_engine.py

@ -299,6 +299,7 @@ class ServiceEngineTest(common.HeatTestCase):
cfg.CONF.set_default('periodic_interval', 60)
self.patchobject(self.eng, 'service_manage_cleanup')
self.patchobject(self.eng, 'reset_stack_status')
self.patchobject(self.eng, 'service_manage_report')
self.eng.start()
# Add dummy thread group to test thread_group_mgr.stop() is executed?

Loading…
Cancel
Save