Tests: fix oom-score-adj false positives. (#7772)

The key save delay is too short and on certain systems the child process
is gone before we have a chance to inspect it.

(cherry picked from commit 1abc94155a26356f7fcaf5d20b80f031a55a3e82)
This commit is contained in:
Yossi Gottlieb 2020-09-09 18:58:06 +03:00 committed by Oran Agra
parent d12e141780
commit d3945c636d

View File

@ -35,7 +35,7 @@ if {$system_name eq {linux}} {
# Check child process # Check child process
r set key-a value-a r set key-a value-a
r config set rdb-key-save-delay 100000 r config set rdb-key-save-delay 1000000
r bgsave r bgsave
set child_pid [get_child_pid 0] set child_pid [get_child_pid 0]