neutron/neutron/tests/fullstack/resources
Slawek Kaplonski b5a0401472 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
(cherry picked from commit 9b23abbdb6)
2019-01-04 10:46:44 +00:00
..
__init__.py Define fullstack router/network/subnet management fixture 2015-07-21 23:33:19 +02:00
client.py Skip MTU check during deletion of Networks 2018-07-20 10:58:32 +00:00
config.py Skip MTU check during deletion of Networks 2018-07-20 10:58:32 +00:00
environment.py Skip MTU check during deletion of Networks 2018-07-20 10:58:32 +00:00
machine.py [Fullstack] Respawn dhclient process in case of error 2018-02-23 11:36:00 +00:00
process.py Add kill_timeout to AsyncProcess 2019-01-04 10:46:44 +00:00