]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Allow AsyncProcess to block on process start and stop
authorAssaf Muller <amuller@redhat.com>
Sun, 22 Feb 2015 00:27:44 +0000 (19:27 -0500)
committerAssaf Muller <amuller@redhat.com>
Fri, 27 Feb 2015 13:47:50 +0000 (08:47 -0500)
commit7907d40075de7528122b0e900a5699b280a04901
treeb71f58907bd04fe664997c0b79abe515b2ec459d
parent9ddcd1adc88f9debd71d27377093c7cbb147e8eb
Allow AsyncProcess to block on process start and stop

* Move utility functions from the test tree to the non-test tree
* Add tests for the newly moved functions
* Use these functions in AsyncProcess

This will allow the ip monitor in the following patch to start
and stop in a synchronous manner.

Related-Bug: #1402010
Change-Id: I03727d8acc17e561d3473b0ebecfbe49cb5523b1
neutron/agent/linux/async_process.py
neutron/agent/linux/ip_lib.py
neutron/agent/linux/utils.py
neutron/tests/functional/agent/linux/helpers.py
neutron/tests/functional/agent/linux/test_async_process.py
neutron/tests/functional/agent/linux/test_utils.py [new file with mode: 0644]
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/agent/linux/test_utils.py
neutron/tests/unit/test_linux_ip_lib.py