From 2742f7eb94eba8057db66dd0ba208510ac7810c9 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 2 Oct 2025 15:18:00 +0400 Subject: [PATCH] Use lowercase sort order in geo_line YAML tests (#135690) 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: