[TEST] explain API rest test may have shard allocation throttled
- match: { shard: 0 }
- match: { primary: false }
- is_true: cluster_info
- - match: { can_allocate: "no" }
- - match: { allocate_explanation : "cannot allocate because allocation is not permitted to any of the nodes" }
+ - is_true: can_allocate
