TEST-55-OOMD: check global config earlier
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 16 Oct 2024 05:52:49 +0000 (14:52 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 16 Oct 2024 06:16:16 +0000 (15:16 +0900)
commit23fb9b63cd12f2040419dbc846d7a87e5193935c
tree8049c8377ad63ad9bf04ec25ed90a5ca0b7455e9
parent1473836a1e3c528221439e3b0ce90e729b31adb3
TEST-55-OOMD: check global config earlier

'Default Memory Pressure Duration' field in oomctl, which can be configured
with DefaultMemoryPressureDurationSec= in oomd.conf, is a global config.
Let's check it earlier.

This also drops unnecessary cleanup at the beginning.
test/units/TEST-55-OOMD.sh