]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: also show the memory pressure of testchill.service 20120/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 2 Jul 2021 17:24:30 +0000 (02:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 2 Jul 2021 20:05:36 +0000 (05:05 +0900)
The memory pressure should be small, but let's log the value in
the journal of the test environment.

test/units/testsuite-55.sh

index 39b01508ed26383c5a3729b6b51157b3221373f4..099ecc98fae838902e40547abbb131008ee41da3 100755 (executable)
@@ -41,6 +41,8 @@ oomctl | grep "/testsuite-55-workload.slice"
 oomctl | grep "1.00%"
 oomctl | grep "Default Memory Pressure Duration: 2s"
 
+systemctl status testsuite-55-testchill.service
+
 # systemd-oomd watches for elevated pressure for 2 seconds before acting.
 # It can take time to build up pressure so either wait 2 minutes or for the service to fail.
 timeout="$(date -ud "2 minutes" +%s)"