fix replication test failure, probing the wrong log file (#9513)

This commit is contained in:
Oran Agra 2021-09-19 12:07:04 +03:00 committed by GitHub
parent f898a9e97d
commit 16be742b08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -797,7 +797,7 @@ test "diskless replication read pipe cleanup" {
# wait for the replicas to start reading the rdb
wait_for_log_messages 0 {"*Loading DB in memory*"} $loglines 800 10
set loglines [count_log_lines 0]
set loglines [count_log_lines -1]
# send FLUSHALL so the RDB child will be killed
$master flushall