mirror of https://github.com/apache/lucene.git
fix false test failure (force docid-preserving merging)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100408 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
77691f17d0
commit
3a0d3e01bd
|
@ -75,7 +75,7 @@ public class TestTimeLimitingCollector extends LuceneTestCase {
|
|||
"blueberry pizza",
|
||||
};
|
||||
directory = newDirectory();
|
||||
RandomIndexWriter iw = new RandomIndexWriter(random, directory);
|
||||
RandomIndexWriter iw = new RandomIndexWriter(random, directory, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMergePolicy(newLogMergePolicy()));
|
||||
|
||||
for (int i=0; i<N_DOCS; i++) {
|
||||
add(docText[i%docText.length], iw);
|
||||
|
|
Loading…
Reference in New Issue