summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-55-workload.slice
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/units/testsuite-55-workload.slice11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/units/testsuite-55-workload.slice b/test/units/testsuite-55-workload.slice
new file mode 100644
index 0000000..d117b75
--- /dev/null
+++ b/test/units/testsuite-55-workload.slice
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=Test slice for memory pressure kills
+
+[Slice]
+CPUAccounting=true
+MemoryAccounting=true
+IOAccounting=true
+TasksAccounting=true
+ManagedOOMMemoryPressure=kill
+ManagedOOMMemoryPressureLimit=20%