mirror of https://github.com/apache/lucene.git
LUCENE-5189: disable merges in testChangeCodec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527147 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb34b50b78
commit
a593916466
|
@ -1037,6 +1037,7 @@ public class TestNumericDocValuesUpdates extends LuceneTestCase {
|
|||
public void testChangeCodec() throws Exception {
|
||||
Directory dir = newDirectory();
|
||||
IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random()));
|
||||
conf.setMergePolicy(NoMergePolicy.COMPOUND_FILES); // disable merges to simplify test assertions.
|
||||
conf.setCodec(new Lucene45Codec() {
|
||||
@Override
|
||||
public DocValuesFormat getDocValuesFormatForField(String field) {
|
||||
|
|
Loading…
Reference in New Issue