Replace refresh with cluster.health check
Possible to fail this test with a 500 NoShardsAvailable error, due to the index not being fully allocated before the analyze call is executed. Changing for a wait_for_status: yellow fixes the occasional problem.
This commit is contained in:
parent
4274e9df4f
commit
b6d90d52bd
|
@ -41,6 +41,10 @@
|
|||
|
||||
---
|
||||
"Analyze API JSON format - index and field":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: yellow
|
||||
|
||||
- do:
|
||||
indices.analyze:
|
||||
field: text
|
||||
|
|
Loading…
Reference in New Issue