diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-07-03 02:24:30 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-07-03 05:05:36 +0900 |
commit | 7d5f4f1d4fe60a4d90f0e121b8c6eace38f2c79a (patch) | |
tree | 25b7856324e9b725e5a8352b4903573657c3daae /test | |
parent | fa7ff467b638256e5cfb0d573c0e94766214615d (diff) | |
download | systemd-7d5f4f1d4fe60a4d90f0e121b8c6eace38f2c79a.tar.gz |
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.
Diffstat (limited to 'test')
-rwxr-xr-x | test/units/testsuite-55.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/units/testsuite-55.sh b/test/units/testsuite-55.sh index 39b01508ed..099ecc98fa 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)" |