]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Wait for the watch process in test case
authorHong Hui Xiao <xiaohhui@cn.ibm.com>
Tue, 24 Nov 2015 14:01:48 +0000 (09:01 -0500)
committerHong Hui Xiao <xiaohhui@cn.ibm.com>
Tue, 24 Nov 2015 14:01:48 +0000 (09:01 -0500)
commitdcd0498c17ae860c55a92f9f31b3e3fa0460b78e
treecbf3b70351380acadd4488fc32edb4b125fc4386
parent941878240c6b894da68b431b3369f0ac174a8850
Wait for the watch process in test case

Because the _watch_process and the failing_process are asynchronous,
there might be a chance that failing_process exit and _watch_process
is not executed.

If the _watch_process is blocked, the method that will be asserted
will not be called. This will fail the UT, but it is intermittent.

Change-Id: Ic951c1b91c5a10462f548544a5e8d482c52ad665
Closes-Bug: #1519160
neutron/tests/unit/agent/linux/test_async_process.py