Browse Source

[TEST] explain API rest test may have shard allocation throttled

Ali Beyad 8 years ago
parent
commit
2f510b38c3

+ 1 - 2
rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yaml

@@ -62,5 +62,4 @@
   - 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