Commit 1db45ba5 authored by antirez's avatar antirez
Browse files

Cluster test: check for state=ok after slot allocation.

parent 11d9ecb7
......@@ -84,3 +84,13 @@ test "After the join, every node gets a different config epoch" {
fail "Config epoch conflict resolution is not working."
}
}
test "Nodes should report cluster_state is ok now" {
foreach_redis_id id {
wait_for_condition 1000 50 {
[CI $id cluster_state] eq {ok}
} else {
fail "Cluster node $id cluster_state:[CI $id cluster_state]"
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment