neutron/neutron/tests/unit/agent/common
Slawek Kaplonski 9b23abbdb6 Add kill_timeout to AsyncProcess
AsyncProcess.stop() method has now additional parameter
kill_timeout. If this is set to some value different than
None, eventlet.green.subprocess.Popen.wait() will be called
with this timeout, so TimeoutExpired exception will be raised
in case if process will not be killed for this "kill_timeout"
time.
In such case process will be killed "again" with SIGKILL signal
to make sure that it is gone.

This should fix problem with failing fullstack tests, when
ovs_agent process is sometimes not killed and test timeout was
reached in this wait() method.

Change-Id: I1e12255e5e142c395adf4e67be9d9da0f7a3d4fd
Closes-Bug: #1798472
2018-11-16 15:33:13 +01:00
..
__init__.py Add missing neutron/tests/unit/agent/common/__init__.py 2015-04-01 22:43:13 +02:00
test_async_process.py Add kill_timeout to AsyncProcess 2018-11-16 15:33:13 +01:00
test_ovs_lib.py Remove deprecated vsctl ovsdb_interface api 2018-10-11 14:59:34 -04:00
test_ovsdb_monitor.py Trivial: Move platform independent modules to common dir 2018-08-14 09:54:01 +03:00
test_polling.py Windows OVS: minimize polling 2018-08-14 09:54:07 +03:00
test_resource_processing_queue.py Rename router processing queue code to be more generic 2018-07-20 15:09:20 -04:00
test_utils.py Remove deprecated IVS interface driver 2018-04-26 20:15:46 +00:00