Fix assertion in Health API YAML test (#108843)

This commit is contained in:
Niels Bauman 2024-05-21 10:39:20 +02:00 committed by GitHub
parent 49a253fa1a
commit f832eb8d60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,8 +50,8 @@
- is_true: status - is_true: status
- match: { indicators.shards_capacity.status: "green" } - match: { indicators.shards_capacity.status: "green" }
- match: { indicators.shards_capacity.symptom: "The cluster has enough room to add new shards." } - match: { indicators.shards_capacity.symptom: "The cluster has enough room to add new shards." }
- is_true: indicators.shards_capacity.details.data.max_shards_in_cluster - exists: indicators.shards_capacity.details.data.max_shards_in_cluster
- is_true: indicators.shards_capacity.details.frozen.max_shards_in_cluster - exists: indicators.shards_capacity.details.frozen.max_shards_in_cluster
--- ---
"basic data stream lifecycle health indicator test": "basic data stream lifecycle health indicator test":