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.
This commit is contained in:
Yossi Gottlieb 2020-09-09 18:58:06 +03:00 committed by GitHub
parent 0666267d27
commit b2a73c404b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]