From 16be742b08164ee49f533be4ebdd185f90523d05 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Sun, 19 Sep 2021 12:07:04 +0300 Subject: [PATCH] fix replication test failure, probing the wrong log file (#9513) --- tests/integration/replication.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl index ceb587ff65..e084be6824 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -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