forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix assertion in ContextIndexSearcherTests (elastic#101366)
If the random index writer commits before we run deletes, then it's possible that a query bitset will match all documents in a segment, and so will be realised as a MatchAllBitSet implementation. This commit adds checking for this scenario to doTestContextIndexSearcher. Fixes elastic#94615
- Loading branch information
1 parent
3e2f17f
commit d52f74f
Showing
1 changed file
with
3 additions
and
2 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