[Test] Make sure that SearchAfterSortedDocQueryTests uses a single threaded searcher

This commit is contained in:
Jim Ferenczi 2017-06-15 18:13:38 +02:00
parent c161d90524
commit 2a78b0a19f
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class SearchAfterSortedDocQueryTests extends ESTestCase {
} }
} }
final IndexReader reader = w.getReader(); final IndexReader reader = w.getReader();
final IndexSearcher searcher = newSearcher(reader); final IndexSearcher searcher = new IndexSearcher(reader);
int step = randomIntBetween(1, 10); int step = randomIntBetween(1, 10);
FixedBitSet bitSet = new FixedBitSet(numDocs); FixedBitSet bitSet = new FixedBitSet(numDocs);