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 b2a73c404b)
This commit is contained in:
Yossi Gottlieb 2020-09-09 18:58:06 +03:00 committed by Oran Agra
parent b55b0ea0f2
commit 0052d5196d

View File

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