]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests/run.py: terminate processes that exceed timeout
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 4 Jun 2025 14:58:31 +0000 (20:28 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 16 Jun 2025 14:13:43 +0000 (08:13 -0600)
commitedd5497c2027818aebba2c5eb28c9b27eb0d3efa
tree4b4a9b8b9624dc0e5bacfe74dc5bb013c3e64cec
parentf9bd14bdc05afa2fb8077a0681dd1dfaf08f331d
ftests/run.py: terminate processes that exceed timeout

Some commands, like 'cgrulesengd' in non-daemon mode, continue running
until explicitly terminated. Currently, we catch exceptions for timeouts
but do not terminate the lingering process. This patch ensures that such
processes are properly killed after the timeout.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/ftests/run.py