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
|
id: 1
|
||||||
routing: 5
|
routing: 5
|
||||||
body: { foo: bar }
|
body: { foo: bar }
|
||||||
|
- do:
|
||||||
|
cluster.health:
|
||||||
|
wait_for_status: yellow
|
||||||
- do:
|
- do:
|
||||||
get:
|
get:
|
||||||
index: test_1
|
index: test_1
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
id: 1
|
id: 1
|
||||||
routing: 5
|
routing: 5
|
||||||
body: { foo: bar }
|
body: { foo: bar }
|
||||||
|
- do:
|
||||||
|
cluster.health:
|
||||||
|
wait_for_status: yellow
|
||||||
- do:
|
- do:
|
||||||
catch: missing
|
catch: missing
|
||||||
delete:
|
delete:
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
id: 1
|
id: 1
|
||||||
routing: 5
|
routing: 5
|
||||||
body: { foo: bar }
|
body: { foo: bar }
|
||||||
|
- do:
|
||||||
|
cluster.health:
|
||||||
|
wait_for_status: yellow
|
||||||
- do:
|
- do:
|
||||||
get:
|
get:
|
||||||
index: test_1
|
index: test_1
|
||||||
|
|
Loading…
Reference in New Issue