From 0052d5196d6e8776e4258c45dc5bddf3b5e1b15a Mon Sep 17 00:00:00 2001 From: Yossi Gottlieb Date: Wed, 9 Sep 2020 18:58:06 +0300 Subject: [PATCH] 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 b2a73c404bf277bac287c72494a4c4cd2ba02f8c) --- tests/unit/oom-score-adj.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/oom-score-adj.tcl b/tests/unit/oom-score-adj.tcl index 8eb09a993..cf671fe6a 100644 --- a/tests/unit/oom-score-adj.tcl +++ b/tests/unit/oom-score-adj.tcl @@ -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]