mirror of https://github.com/apache/lucene.git
TestLRUQueryCache#testBulkScorerLocking needs large IW buffers.
This commit is contained in:
parent
0941cae532
commit
b1613e4da6
|
@ -1605,7 +1605,10 @@ public class TestLRUQueryCache extends LuceneTestCase {
|
|||
public void testBulkScorerLocking() throws Exception {
|
||||
|
||||
Directory dir = newDirectory();
|
||||
IndexWriterConfig iwc = newIndexWriterConfig().setMergePolicy(NoMergePolicy.INSTANCE);
|
||||
IndexWriterConfig iwc = newIndexWriterConfig()
|
||||
.setMergePolicy(NoMergePolicy.INSTANCE)
|
||||
// the test framework sometimes sets crazy low values, prevent this since we are indexing many docs
|
||||
.setMaxBufferedDocs(-1);
|
||||
IndexWriter w = new IndexWriter(dir, iwc);
|
||||
|
||||
final int numDocs = atLeast(10);
|
||||
|
|
Loading…
Reference in New Issue