mirror of https://github.com/apache/lucene.git
Fix test failure because of CFS files expected
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377384 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
35285cf295
commit
50f38aa1ab
|
@ -561,7 +561,10 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
|
|||
Directory dir = newFSDirectory(outputDir);
|
||||
|
||||
LogMergePolicy mergePolicy = newLogMergePolicy(true, 10);
|
||||
mergePolicy.setNoCFSRatio(1); // This test expects all of its segments to be in CFS
|
||||
|
||||
// This test expects all of its segments to be in CFS:
|
||||
mergePolicy.setNoCFSRatio(1.0);
|
||||
mergePolicy.setMaxCFSSegmentSizeMB(Double.POSITIVE_INFINITY);
|
||||
|
||||
IndexWriter writer = new IndexWriter(
|
||||
dir,
|
||||
|
|
Loading…
Reference in New Issue