diff --git a/tests/integration/dual-channel-replication.tcl b/tests/integration/dual-channel-replication.tcl index f49292255f..a2e387f775 100644 --- a/tests/integration/dual-channel-replication.tcl +++ b/tests/integration/dual-channel-replication.tcl @@ -1250,14 +1250,6 @@ start_server {tags {"dual-channel-replication external:skip"}} { fail "Primary did not free repl buf block after sync failure" } wait_for_log_messages 0 {"*Failed trying to load the PRIMARY synchronization DB from socket*"} $loglines 1000 10 - # Replica should retry - wait_for_condition 500 1000 { - [string match "*slave*,state=wait_bgsave*,type=rdb-channel*" [$primary info replication]] && - [string match "*slave*,state=bg_transfer*,type=main-channel*" [$primary info replication]] && - [s -1 rdb_bgsave_in_progress] eq 1 - } else { - fail "replica didn't retry after connection close" - } verify_replica_online $primary 0 500 } }