]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Stop any spawned ProcessMonitor at test cleanup
authorMiguel Angel Ajo <mangelajo@redhat.com>
Tue, 24 Mar 2015 13:07:37 +0000 (13:07 +0000)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Thu, 26 Mar 2015 18:17:00 +0000 (18:17 +0000)
commitf8d6aa9c9ad676a29ff0874b5bf5b9fb898259c7
treec4aa44021f611098ed219f46cacd8c0f83a25871
parentd409461ed18bdb6b35f49b98252e90ffd09e32fb
Stop any spawned ProcessMonitor at test cleanup

Base test class adds a cleanup fixture to stop any
spawned process monitor via unit or functional tests,
which otherwise would keep running after the tests already
finished, and execution functions go unpatched.

Without this patch unit tests will randomly fail
when we enable process monitor by default at change:
I85fe31bee30714148168a293eea29fa0a37f9701

Co-Authored-By: Maru Newby <marun@redhat.com>
Change-Id: Ide799a52391b14ff921de25788e8b0f0463fb8f8
neutron/agent/linux/external_process.py
neutron/tests/base.py
neutron/tests/functional/agent/linux/test_keepalived.py
neutron/tests/functional/agent/linux/test_process_monitor.py