Skip to content

Commit 8ee27da

Browse files
committed
[TEST] Updated the keys in the percentile aggregation tests to be strings
Following in the path of #26905, this patch updates another set of keys to be strings instead of numbers, otherwise the Ruby runner fails. Closes #27355
1 parent 1e99195 commit 8ee27da

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/180_percentiles_tdigest_metric.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -337,14 +337,14 @@ setup:
337337
- length: { hits.hits: 4 }
338338
- match:
339339
aggregations.percentiles_int.values:
340-
5.0: 8.500000000000002
341-
25.0: 38.5
342-
50.0: 76.0
340+
"5.0": 8.500000000000002
341+
"25.0": 38.5
342+
"50.0": 76.0
343343
- match:
344344
aggregations.percentiles_double.values:
345-
5.0: 8.500000000000002
346-
25.0: 38.5
347-
50.0: 76.0
345+
"5.0": 8.500000000000002
346+
"25.0": 38.5
347+
"50.0": 76.0
348348

349349
---
350350
"Non-keyed test":
@@ -370,6 +370,3 @@ setup:
370370
value: 38.5
371371
- key: 50.0
372372
value: 76.0
373-
374-
375-

0 commit comments

Comments
 (0)