Skip to content

Commit 6700272

Browse files
Deflake replica selection test by relaxing cluster configurations (#2672)
We have relaxed the `cluster-ping-interval` and `cluster-node-timeout` so that cluster has enough time to stabilize and propagate changes. Fixes this test occasional failure when running with valgrind: [err]: Node #10 should eventually replicate node #5 in tests/unit/cluster/slave-selection.tcl #10 didn't became slave of #5 Backported to the 9.0 branch in #2731. Signed-off-by: Sarthak Aggarwal <[email protected]>
1 parent 128f30b commit 6700272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/cluster/slave-selection.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Create a cluster with 5 master and 10 slaves, so that we have 2
55
# slaves for each master.
6-
start_cluster 5 10 {tags {external:skip cluster}} {
6+
start_cluster 5 10 {tags {external:skip cluster} overrides {cluster-ping-interval 1000 cluster-node-timeout 5000}} {
77

88
test "Cluster is up" {
99
wait_for_cluster_state ok

0 commit comments

Comments
 (0)