Skip to content

Commit 36d438b

Browse files
Deflake test ync should continue if not all slaves dropped dual-channel-replication (valkey-io#1164)
Sometimes when dual-channel is turned off the tested replica might disconnect on COB overrun. disable the replica COB limit in order to prevent such cases. Fixes: valkey-io#1153 Signed-off-by: Ran Shidlansik <[email protected]> Signed-off-by: Binbin <[email protected]> Co-authored-by: Binbin <[email protected]>
1 parent 597aa03 commit 36d438b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/dual-channel-replication.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -842,11 +842,11 @@ start_server {tags {"dual-channel-replication external:skip"}} {
842842
$primary config set dual-channel-replication-enabled yes
843843
$primary config set loglevel debug
844844
$primary config set repl-diskless-sync-delay 5
845-
845+
$primary config set client-output-buffer-limit "replica 0 0 0"
846+
846847
# Generating RDB will cost 5s(10000 * 0.0005s)
847848
$primary debug populate 10000 primary 1
848849
$primary config set rdb-key-save-delay 500
849-
850850
$primary config set dual-channel-replication-enabled $dualchannel
851851

852852
start_server {} {

0 commit comments

Comments
 (0)