]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't raise if polling manager is running when stopped
authorrossella <rsblendido@suse.com>
Mon, 14 Dec 2015 12:31:17 +0000 (12:31 +0000)
committerrossella <rsblendido@suse.com>
Mon, 21 Dec 2015 15:51:48 +0000 (15:51 +0000)
commit9783050e3ea6b9c0201a6d4733d1987839d1df7d
tree3933cea8b954b499537d9a72a8a72e92cb35bbe6
parent252596cbedad2dac53ff9395d20a7128a422d3f1
Don't raise if polling manager is running when stopped

AsyncProcess.stop() will raise if the process we are trying
to stop is not running. Some functional tests sporadically
fail because in the clean up the polling manager is stopped
without checking if it's still running. Add an except
in InterfacePollingMinimizer.stop() to avoid raising an
exception when the monitor is not running.

Change-Id: Iec8f5039ae5b830836564a1a402ad3e4ba38935d
Closes-bug: #1525856
neutron/agent/linux/polling.py
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py