]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "TEST-55-OOMD: Verify that ExecStopPost= runs on oom-kill"
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 15 Sep 2025 16:33:07 +0000 (17:33 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 15 Sep 2025 18:38:28 +0000 (19:38 +0100)
The test consistently fails on CentOS 9:

TEST-55-OOMD.sh[678]: + test -f /run/testbloat-exec-stop-post
[FAILED] Failed to start TEST-55-OOMD.service.

https://github.com/systemd/systemd/actions/runs/17689186773/job/50293446228?pr=38911

This reverts commit 5bf7438ff025ae05daf1b706f204f31373d5ab82.

test/integration-tests/TEST-55-OOMD/TEST-55-OOMD.units/TEST-55-OOMD-testbloat.service
test/units/TEST-55-OOMD.sh

index abb16b47f9f9b71b4e603a45d56e43bbce08b794..70c87727c8b102d7592aab75d64b797c321d226e 100644 (file)
@@ -8,4 +8,3 @@ Description=Create a lot of memory pressure
 MemoryHigh=3M
 Slice=TEST-55-OOMD-workload.slice
 ExecStart=stress-ng --timeout 3m --vm 10 --vm-bytes 200M --vm-keep
-ExecStopPost=-touch /run/testbloat-exec-stop-post
index 5eb3eb3f1a33f8028cc826199b2104533a34bfc9..66793378584c6ff4ab8f10e9094dacb19347ed74 100755 (executable)
@@ -133,9 +133,6 @@ test_basic() {
 
 testcase_basic_system() {
     test_basic /TEST.slice/TEST-55.slice/TEST-55-OOMD.slice/TEST-55-OOMD-workload.slice
-
-    # Ensure ExecStopPost= runs on oom-kill.
-    test -f /run/testbloat-exec-stop-post
 }
 
 testcase_basic_user() {