neutron/neutron/tests/fullstack/resources
Slawek Kaplonski 025e767b94 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 11:44:23 +01:00
..
__init__.py Define fullstack router/network/subnet management fixture 2015-07-21 23:33:19 +02:00
client.py Fullstack test for minimum bw rule ingress create 2018-10-15 08:55:37 +02:00
config.py [Fullstack] Use string for global_physnet_mtu config option 2018-07-23 11:15:29 +02:00
environment.py Merge "[Fullstack] Remove central_external_bridge" 2018-07-17 05:01:13 +00:00
machine.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
process.py Add kill_timeout to AsyncProcess 2019-01-04 11:44:23 +01:00