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.
This commit is contained in:
Yu Watanabe
2021-07-03 05:05:36 +09:00
parent fa7ff467b6
commit 7d5f4f1d4f
+2
View File
@@ -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)"