Skip to content

Commit

Permalink
Deflake chained replicas disconnect
Browse files Browse the repository at this point in the history
Deflake chained replicas disconnect when replica re-connect with the same
master. sync_partial_ok counter might get incremented if replica timed
out during test.

Signed-off-by: naglera <[email protected]>
  • Loading branch information
naglera committed May 30, 2024
1 parent 6bab2d7 commit fc49a00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration/psync2-pingoff.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ start_server {} {
set R_host($j) [srv [expr 0-$j] host]
set R_port($j) [srv [expr 0-$j] port]
$R($j) CONFIG SET repl-ping-replica-period 1
$R($j) config set repl-timeout 300
}

test "Chained replicas disconnect when replica re-connect with the same master" {
Expand Down

0 comments on commit fc49a00

Please sign in to comment.