Wait-for-yellow IS required for routing, otherwise can get

shard-not-available instead of missing
This commit is contained in:
Clinton Gormley 2013-06-30 20:02:32 +02:00
parent f4c9751c15
commit 8cb6c6ea00
3 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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:

View File

@ -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