mirror of https://github.com/apache/lucene.git
don't randomize IWC for this test
This commit is contained in:
parent
8a113ba2f4
commit
1f08398146
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue