summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cluster/tests/00-base.tcl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cluster/tests/00-base.tcl b/tests/cluster/tests/00-base.tcl
index 4777414e7..5097a049b 100644
--- a/tests/cluster/tests/00-base.tcl
+++ b/tests/cluster/tests/00-base.tcl
@@ -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]"
+ }
+ }
+}