Wait-for-yellow IS required for routing, otherwise can get
shard-not-available instead of missing
This commit is contained in:
parent
f4c9751c15
commit
8cb6c6ea00
|
@ -7,7 +7,9 @@
|
|||
id: 1
|
||||
routing: 5
|
||||
body: { foo: bar }
|
||||
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: yellow
|
||||
- do:
|
||||
get:
|
||||
index: test_1
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
id: 1
|
||||
routing: 5
|
||||
body: { foo: bar }
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: yellow
|
||||
- do:
|
||||
catch: missing
|
||||
delete:
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
id: 1
|
||||
routing: 5
|
||||
body: { foo: bar }
|
||||
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: yellow
|
||||
- do:
|
||||
get:
|
||||
index: test_1
|
||||
|
|
Loading…
Reference in New Issue