-
Notifications
You must be signed in to change notification settings - Fork 24.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rare failure condition in FieldSortBuilderTests (#74347)
Under rare randomization conditions, the mininum values used in FieldSortBuilderTests#testIsBottomSortShardDisjoint can currently be missintepreted and parsed as years by the date parser that is called deeper down in DateFieldMapper#isFieldWithinQuery. In practice this cannot happen because `isBottomSortShardDisjoint` uses the formatted sort values for a date field, which are string values and don't cause this kind of error. This PR fixes that in the test setup. Closes #74142
- Loading branch information
Christoph Büscher
committed
Jun 21, 2021
1 parent
5bbcba3
commit fa91c1c
Showing
1 changed file
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters