From: Yu Watanabe Date: Fri, 2 Jul 2021 17:24:30 +0000 (+0900) Subject: test: also show the memory pressure of testchill.service X-Git-Tag: v250-rc1~954^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d5f4f1d4fe60a4d90f0e121b8c6eace38f2c79a;p=thirdparty%2Fsystemd.git test: also show the memory pressure of testchill.service The memory pressure should be small, but let's log the value in the journal of the test environment. --- diff --git a/test/units/testsuite-55.sh b/test/units/testsuite-55.sh index 39b01508ed2..099ecc98fae 100755 --- a/test/units/testsuite-55.sh +++ b/test/units/testsuite-55.sh @@ -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)"