mirror of https://github.com/apache/lucene.git
Fix test failure caused by additional disk space used by CFS files (CFS files are created here, because newLogMergePolicy now also randomized CFS ratio).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376919 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a2c37ef44d
commit
92b201f1df
|
@ -249,7 +249,7 @@ public class TestIndexWriterOnDiskFull extends LuceneTestCase {
|
|||
|
||||
// Make a new dir that will enforce disk usage:
|
||||
MockDirectoryWrapper dir = new MockDirectoryWrapper(random(), new RAMDirectory(startDir, newIOContext(random())));
|
||||
writer = new IndexWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random())).setOpenMode(OpenMode.APPEND).setMergePolicy(newLogMergePolicy()));
|
||||
writer = new IndexWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random())).setOpenMode(OpenMode.APPEND).setMergePolicy(newLogMergePolicy(false)));
|
||||
IOException err = null;
|
||||
|
||||
MergeScheduler ms = writer.getConfig().getMergeScheduler();
|
||||
|
|
Loading…
Reference in New Issue