mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Cluster test: node reachability condition fixed.
This commit is contained in:
parent
628c5641c0
commit
351ad518b3
@ -16,7 +16,8 @@ test "Cluster nodes are reachable" {
|
||||
foreach_redis_id id {
|
||||
# Every node should be reachable.
|
||||
wait_for_condition 1000 50 {
|
||||
[R $id ping] eq {PONG}
|
||||
([catch {R $id ping} ping_reply] == 0) &&
|
||||
($ping_reply eq {PONG})
|
||||
} else {
|
||||
catch {R $id ping} err
|
||||
fail "Node #$id keeps replying '$err' to PING."
|
||||
|
Loading…
x
Reference in New Issue
Block a user