mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user