summaryrefslogtreecommitdiff
path: root/test/units/testsuite-55-workload.slice
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-03-05 18:36:04 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-03-05 18:36:04 +0900
commit1ebcf47296647d3586ebd5bccc53270561e879fb (patch)
treeda790207d9769b43ee6291d643e67ef40162fd22 /test/units/testsuite-55-workload.slice
parentdaceb818cfafbeac470aa5efc5e36e64e52d906d (diff)
downloadsystemd-1ebcf47296647d3586ebd5bccc53270561e879fb.tar.gz
test: merge udev tests
Diffstat (limited to 'test/units/testsuite-55-workload.slice')
-rw-r--r--test/units/testsuite-55-workload.slice10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/units/testsuite-55-workload.slice b/test/units/testsuite-55-workload.slice
new file mode 100644
index 0000000000..8c32b28094
--- /dev/null
+++ b/test/units/testsuite-55-workload.slice
@@ -0,0 +1,10 @@
+[Unit]
+Description=Test slice for memory pressure kills
+
+[Slice]
+CPUAccounting=true
+MemoryAccounting=true
+IOAccounting=true
+TasksAccounting=true
+ManagedOOMMemoryPressure=kill
+ManagedOOMMemoryPressureLimit=1%