From 24208812a658c5dbb843dc20f9615e801be37d46 Mon Sep 17 00:00:00 2001 From: ranshid <88133677+ranshid@users.noreply.github.com> Date: Mon, 1 Jul 2024 02:30:46 +0300 Subject: [PATCH] Increase ping and cluster timeout for cluster-slots test (#717) 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 --- tests/unit/cluster/cluster-slots.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/cluster/cluster-slots.tcl b/tests/unit/cluster/cluster-slots.tcl index 441e5644e4..bfcdd93ecf 100644 --- a/tests/unit/cluster/cluster-slots.tcl +++ b/tests/unit/cluster/cluster-slots.tcl @@ -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