]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tests: Ignore cpuset exclusive errors in test 038
authorTom Hromatka <tom.hromatka@oracle.com>
Fri, 18 Mar 2022 15:41:20 +0000 (09:41 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 23 Mar 2022 15:13:33 +0000 (09:13 -0600)
commitacbfaa6d6ed10cd7e2e8bd5497dd3a7cfe7cdae2
tree664d7b65eaf340ffc6b973e1f45696d91f5fea22
parentaf04a5d66194bd4c2b63743b8ced7bc136f4677a
tests: Ignore cpuset exclusive errors in test 038

Setting the cpuset exclusive can be challenging because other
cgroups could be using the cpu that is slated to become exclusive
to this cgroup.  Add try/except handling to test 038 for when we
can't get the exclusive bit set, so that the test doesn't fail due
to circumstances beyond libcgroup's control.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ftests/038-cgxget-cpuset_settings.py