mirror of https://github.com/apache/lucene.git
LUCENE-5434: This test method uses a non nrt reader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
65274f5965
commit
3d24b825a5
|
@ -116,7 +116,7 @@ public class TestIndexWriterReader extends LuceneTestCase {
|
|||
public void testUpdateDocument() throws Exception {
|
||||
boolean doFullMerge = true;
|
||||
|
||||
Directory dir1 = getAssertNoDeletesDirectory(newDirectory());
|
||||
Directory dir1 = newDirectory();
|
||||
IndexWriterConfig iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random()));
|
||||
if (iwc.getMaxBufferedDocs() < 20) {
|
||||
iwc.setMaxBufferedDocs(20);
|
||||
|
|
Loading…
Reference in New Issue