You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CI] Fix 70_time_series/default sort yaml test failures (#83217)
Fixes test failures like: https://gradle-enterprise.elastic.co/s/gkjt33zqmnjuu
The test executes a match_all query that returns all results in the index. Since _score
for all search results is 1, the test erroneously assumed that results are returned in the
order documents are stored on disk.
However, if a shard has multiple segments, the results order can be unpredictable.
This PR fixes the test by explicitly setting the sort parameter for the query.
0 commit comments