mirror of
https://github.com/fluencelabs/redis
synced 2025-05-30 02:31:19 +00:00
Cluster test: check for state=ok after slot allocation.
This commit is contained in:
parent
c4c7389fea
commit
4ca7c5bcde
@ -84,3 +84,13 @@ test "After the join, every node gets a different config epoch" {
|
|||||||
fail "Config epoch conflict resolution is not working."
|
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]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user