TEST-55-OOMD: set ManagedOOMMemoryPressure= and friends in a drop-in config
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Oct 2024 07:09:11 +0000 (16:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 16 Oct 2024 05:49:56 +0000 (14:49 +0900)
commit1473836a1e3c528221439e3b0ce90e729b31adb3
tree15950bd79673ee50b067f5024fafa47d1b4bac5c
parent28dbee46d5bfdcfa601e80e248dbde22b8d65664
TEST-55-OOMD: set ManagedOOMMemoryPressure= and friends in a drop-in config

Fedora and friends has a drop-in config for the settings in
/usr/lib/systemd/user/slice.d/ . Hence, settings in the main .slice may be
overridden. Let's set below in a drop-in with higher decimal prefix.

Also, rename override.conf -> 99-managed-oom-preference.conf for the same reason.
test/units/TEST-55-OOMD-workload.slice
test/units/TEST-55-OOMD-workload.slice.d/99-oom.conf [new file with mode: 0644]
test/units/TEST-55-OOMD.sh