Skip to content

Commit

Permalink
after resetting rdb-key-save-delay to 0, don't expect to catch the re…
Browse files Browse the repository at this point in the history
…plica while syncing (only expect it to be eventually connected)

Signed-off-by: naglera <[email protected]>
  • Loading branch information
naglera committed Nov 17, 2024
1 parent 43b1e22 commit 612e621
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/integration/dual-channel-replication.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 612e621

Please sign in to comment.