Skip to content

Commit 0d3b28f

Browse files
increase wait_for_condition for flaky test
Signed-off-by: Sarthak Aggarwal <[email protected]>
1 parent 3073979 commit 0d3b28f

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
@@ -108,7 +108,7 @@ test "Node #10 should eventually replicate node #5" {
108108
# Valgrind runs are significantly slower and occasionally need more time
109109
# for the cluster to propagate the new primary. Use a larger timeout to
110110
# avoid spurious failures in slow environments.
111-
wait_for_condition 2000 50 {
111+
wait_for_condition 5000 200 {
112112
([lindex [R 10 role] 2] == $port5) &&
113113
([lindex [R 10 role] 3] eq {connected})
114114
} else {

0 commit comments

Comments
 (0)