]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/013: Extend the stress to test pids.events.local (v2)
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 9 Jul 2025 11:04:17 +0000 (16:34 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 9 Jul 2025 20:02:21 +0000 (14:02 -0600)
Extend the test case to exercise the pids.events.local (v2) setting
added to pid controller consts list.

-----------------------------------------------------------------
Test Results:
        Run Date:                          Jul 09 09:56:48
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                              Time (sec)
        --------------------------------------------
        setup                                   0.00
        013-cgget-multiple_g_flags.py           0.12
        teardown                                0.00
        --------------------------------------------
        Total Run Time                          0.12

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

index c74e4264dd20d75698af11ea0000b3d95c12605a..8af244ce913ec1d31080163e212bd7a8a01d540c 100755 (executable)
@@ -51,6 +51,9 @@ def test(config):
         # Append pid controller [1] and cpu controller [N, N - 1]
         EXPECTED_OUT.extend(OUT_PREFIX + consts.EXPECTED_PIDS_OUT[1] + expected_out
                             for expected_out in consts.EXPECTED_CPU_OUT_V2[-2:])
+        # Append pid controller [2] and cpu controller [N, N - 1]
+        EXPECTED_OUT.extend(OUT_PREFIX + consts.EXPECTED_PIDS_OUT[2] + expected_out
+                            for expected_out in consts.EXPECTED_CPU_OUT_V2[-2:])
 
     for expected_out in EXPECTED_OUT:
         if len(out.splitlines()) == len(expected_out.splitlines()):