parent
ef5bf9c21b
commit
6e9eea9b98
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
"Index check shard header pending field":
|
||||
|
||||
- skip:
|
||||
features: "requires_replica"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: foobar
|
||||
body:
|
||||
settings:
|
||||
number_of_shards: "1"
|
||||
number_of_replicas: "1"
|
||||
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: foobar
|
||||
type: baz
|
||||
id: 1
|
||||
body: { foo: bar }
|
||||
|
||||
- match: { _index: foobar }
|
||||
- match: { _type: baz }
|
||||
- match: { _id: "1"}
|
||||
- match: { _version: 1}
|
||||
- match: { _shards.total: 2}
|
||||
- match: { _shards.successful: 1}
|
||||
- match: { _shards.failed: 0}
|
||||
- match: { _shards.pending: 1}
|
Loading…
Reference in New Issue