OpenSearch/rest-api-spec/test/indices.flush/10_basic.yaml

20 lines
375 B
YAML

---
"Index synced flush rest test":
- do:
indices.create:
index: testing
- do:
cluster.health:
wait_for_status: yellow
- do:
indices.flush_synced:
index: testing
- is_false: _shards.failed
- do:
indices.stats: {level: shards}
- is_true: indices.testing.shards.0.0.commit.user_data.sync_id