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:
Ihar Hrachyshka 2015-09-08 11:20:10 +02:00
parent 375efc377f
commit 1b67012794
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class BaseTestProcessMonitor(base.BaseTestCase):
exception=RuntimeError('Not all children respawned.'))
def cleanup_spawned_children(self):
self._process_monitor.stop()
for pm in self._child_processes:
pm.disable()