Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change EngineTestCase to not wrap the reader. (elastic#98732)
As part elastic#98110, EngineTestCase now uses newSearcher() to create a new index searcher (instead of just creating a new index searcher). This is for increasing test coverage. However, this test can't deal with wrapping the index reader as it leads to assertion errors. So instead use `newSearcher(leaf, false)` to still keep to test benefits of wrapping the index searcher. Closes elastic#98716
- Loading branch information