Преглед на файлове

Use lowercase sort order in geo_line YAML tests (#135690) (#135840)

This is how it's specified in the Elasticsearch specification, and avoids a
false positive during validation.
Quentin Pradet преди 3 дни
родител
ревизия
5377b9bbcb
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/spatial/120_position_geo_line.yml

+ 2 - 2
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: