mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
Fixes REST test that is designed to timeout on index creation by
making the test wait until all urgent requests are completed before finishing, so that tear down can properly delete the created index and cleanup. Without this wait, it was possible that the test would finish and cleanup the deleted indices would happen before the index creation even processed, causing the test to leave a created index behind.
This commit is contained in:
parent
3bcf2653bb
commit
83a137b25c
@ -45,6 +45,10 @@
|
||||
|
||||
- match: { shards_acknowledged: false }
|
||||
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_events: urgent
|
||||
|
||||
---
|
||||
"Create index with wait_for_active_shards set to all":
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user