LUCENE-8917: Fix test failure.

This commit is contained in:
Adrien Grand 2019-09-05 11:27:18 +02:00
parent ec0acf9984
commit 78b6530fb2
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public class TestPerFieldDocValuesFormat extends BaseDocValuesFormatTestCase {
// we don't use RandomIndexWriter because it might add more docvalues than we expect !!!!1
IndexWriterConfig iwc = newIndexWriterConfig(analyzer);
final DocValuesFormat fast = TestUtil.getDefaultDocValuesFormat();
final DocValuesFormat slow = DocValuesFormat.forName("Direct");
final DocValuesFormat slow = DocValuesFormat.forName("Asserting");
iwc.setCodec(new AssertingCodec() {
@Override
public DocValuesFormat getDocValuesFormatForField(String field) {