Skip to content

Commit 1669e08

Browse files
committed
Removed the redundant cluster_known_nodes call
Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
1 parent be33235 commit 1669e08

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/unit/cluster/cli.tcl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -284,16 +284,6 @@ test {Migrate the last slot away from a node using valkey-cli} {
284284
fail "Cluster doesn't stabilize"
285285
}
286286

287-
# Ensure all node IDs are propagated
288-
wait_for_condition 1000 50 {
289-
[CI 0 cluster_known_nodes] == 4 &&
290-
[CI 1 cluster_known_nodes] == 4 &&
291-
[CI 2 cluster_known_nodes] == 4 &&
292-
[CI 3 cluster_known_nodes] == 4
293-
} else {
294-
fail "Cluster gossip hasn't propagated all node IDs"
295-
}
296-
297287
set newnode_r [valkey_client -3]
298288
set newnode_id [$newnode_r CLUSTER MYID]
299289

0 commit comments

Comments
 (0)