]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests/071: Introduce delay before killing cgroup
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 18 Jun 2024 06:56:28 +0000 (12:26 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 20 Jun 2024 20:54:13 +0000 (14:54 -0600)
commite2da3dcc8d136f52482ddf368433d10fda72cbb4
tree0037deb31840979c05cf7ae27ce0ccbecc0177c3
parent13132012a989a687d7cf819c42c18eab28c1a48c
ftests/071: Introduce delay before killing cgroup

Fix the following issue:
071-sudo-set_default_systemd_cgroup.py - cgroup_delete_cgroup failed: 50016

Some older version of Kernel/Python combination, requires few jiffies to
sync the cgroup.procs list of process. Fix it by introducing 0.5 second
delay, before removing the cgroup.

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