tests: disable process monitor before managers
Otherwise the monitor may respawn managers later, leaving them running. Issue spotted in: http://logs.openstack.org/02/216902/4/check/gate-neutron-dsvm-functional/a97df90 Change-Id: I0e68b06c87b5770756fdf7b9201e1986cc67e07b Related-Bug: #1490051
This commit is contained in:
parent
375efc377f
commit
1b67012794
|
@ -96,6 +96,7 @@ class BaseTestProcessMonitor(base.BaseTestCase):
|
||||||
exception=RuntimeError('Not all children respawned.'))
|
exception=RuntimeError('Not all children respawned.'))
|
||||||
|
|
||||||
def cleanup_spawned_children(self):
|
def cleanup_spawned_children(self):
|
||||||
|
self._process_monitor.stop()
|
||||||
for pm in self._child_processes:
|
for pm in self._child_processes:
|
||||||
pm.disable()
|
pm.disable()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue