don't randomize IWC for this test

This commit is contained in:
Mike McCandless 2016-10-05 06:10:13 -04:00
parent 722e827124
commit 45af6f0d26
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ public class TestPerFieldPostingsFormat2 extends LuceneTestCase {
MergeRecordingPostingsFormatWrapper pf1 = new MergeRecordingPostingsFormatWrapper(TestUtil.getDefaultPostingsFormat());
MergeRecordingPostingsFormatWrapper pf2 = new MergeRecordingPostingsFormatWrapper(TestUtil.getDefaultPostingsFormat());
IndexWriterConfig iwc = newIndexWriterConfig();
IndexWriterConfig iwc = new IndexWriterConfig();
iwc.setCodec(new AssertingCodec() {
@Override
public PostingsFormat getPostingsFormatForField(String field) {