Fixed indices.open test - need to wait for shards to be allocated

before trying to close the index
This commit is contained in:
Clinton Gormley 2013-09-17 14:16:18 +02:00
parent 1279a29ee3
commit 59ca459b1c
1 changed files with 2 additions and 4 deletions

View File

@ -5,10 +5,8 @@
index: test_index index: test_index
- do: - do:
indices.exists: cluster.health:
index: test_index wait_for_status: yellow
- is_true: ''
- do: - do:
indices.close: indices.close: