mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Cluster test: check for state=ok after slot allocation.
This commit is contained in:
parent
11d9ecb71d
commit
1db45ba58c
@ -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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user