From 9f971dec4d8aa261fc4b0747620e759a3c730117 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 30 Sep 2025 15:01:53 +0400 Subject: [PATCH] Use lowercase sort order in geo_line YAML tests This is how it's specified in the Elasticsearch specification, and avoids a false positive during validation. --- .../rest-api-spec/test/spatial/120_position_geo_line.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/spatial/120_position_geo_line.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/spatial/120_position_geo_line.yml index 0cd038436214d..f997162c3960a 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/spatial/120_position_geo_line.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/spatial/120_position_geo_line.yml @@ -82,7 +82,7 @@ setup: field: location sort: field: "@timestamp" - sort_order: ASC + sort_order: asc - match: { hits.total: 10 } - length: { aggregations.by_time_series.buckets: 3 } - match: @@ -135,7 +135,7 @@ setup: field: location sort: field: "@timestamp" - sort_order: DESC + sort_order: desc - match: { hits.total: 10 } - length: { aggregations.by_time_series.buckets: 3 } - match: