mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
test-runner: add timeout for waiting for process to finish
If a process hangs on exit test-runner would sit indefinitely waiting.
This commit is contained in:
parent
709c86086f
commit
d11974c717
@ -242,7 +242,7 @@ class Process:
|
||||
if not wait and not check:
|
||||
return
|
||||
|
||||
self.pid.wait()
|
||||
self.pid.wait(timeout=5)
|
||||
self.killed = True
|
||||
|
||||
self.stdout.seek(self.io_position)
|
||||
|
Loading…
Reference in New Issue
Block a user