]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/089: enable controller for hybrid parent cgroup
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 1 Nov 2023 07:20:46 +0000 (12:50 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 17 Jan 2024 16:35:54 +0000 (09:35 -0700)
Enable the cpuset controller for the hybrid parent cgroup, in case of
the cgroup hybrid setup mode with controller enabled.

-----------------------------------------------------------------
Test Results:
        Run Date:                          Nov 01 12:50:20
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                            Time (sec)
        ------------------------------------------
        setup                                 0.00
        089-cgset-recursive_flag.py           0.23
        teardown                              0.00
        ------------------------------------------
        Total Run Time                        0.23

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

index e740ca580e4dd480e3735dbedb37967209b97bba..f60e4f3dff1e77c88fe256bd3053779c15553167 100755 (executable)
@@ -53,6 +53,7 @@ def setup(config):
 
     if (is_hybrid_with_ctrl(config)):
         Cgroup.create(config, None, GRANDCHILD)
+        Cgroup.create(config, CONTROLLERS[1], PARENT)
 
 
 def cgroup_settings_helper(config, SETTING, VALUE, DEF_VAL):