]> 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:14:46 +0000 (08:14 -0600)
commit3644a1324f0b6f6caf550a4b00dd6b47df8fbd77
tree81203bf1e77a768d55b16b5b3e93e042bc148427
parentdcd7ed7b8bbd4ea3e1edb418beb2cee454ea776b
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>
(cherry picked from commit edd5497c2027818aebba2c5eb28c9b27eb0d3efa)
tests/ftests/run.py