don't randomize IWC for this test

This commit is contained in:
Mike McCandless 2016-10-05 06:10:13 -04:00
parent 8a113ba2f4
commit 1f08398146
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 pf1 = new MergeRecordingPostingsFormatWrapper(TestUtil.getDefaultPostingsFormat());
MergeRecordingPostingsFormatWrapper pf2 = new MergeRecordingPostingsFormatWrapper(TestUtil.getDefaultPostingsFormat()); MergeRecordingPostingsFormatWrapper pf2 = new MergeRecordingPostingsFormatWrapper(TestUtil.getDefaultPostingsFormat());
IndexWriterConfig iwc = newIndexWriterConfig(); IndexWriterConfig iwc = new IndexWriterConfig();
iwc.setCodec(new AssertingCodec() { iwc.setCodec(new AssertingCodec() {
@Override @Override
public PostingsFormat getPostingsFormatForField(String field) { public PostingsFormat getPostingsFormatForField(String field) {