Skip to content

Commit

Permalink
Increase ping and cluster timeout for cluster-slots test (#717)
Browse files Browse the repository at this point in the history
cluster-slots test is tesing a very fragmented slots range of a
relatively large cluster. For this reason, when run under valgrind, some
of the nodes are timing out when cluster is attempting to converge and
propagate.
This pr sets the test's cluster-node-timeout to 90000 and
cluster-ping-interval to 1000.

Signed-off-by: ranshid <[email protected]>
  • Loading branch information
ranshid authored Jun 30, 2024
1 parent e4c1f6d commit 2420881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/cluster/cluster-slots.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ proc cluster_allocate_mixedSlots {masters replicas} {
}
}

start_cluster 5 10 {tags {external:skip cluster}} {
start_cluster 5 10 {overrides {cluster-ping-interval 1000 cluster-node-timeout 90000} tags {external:skip cluster}} {

test "Cluster is up" {
wait_for_cluster_state ok
Expand Down

0 comments on commit 2420881

Please sign in to comment.