mirror of https://github.com/apache/lucene.git
fix test bug: we have to check the actual DVF (the codec could be a frankenstein)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595456 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d73ff28707
commit
4affe33430
|
@ -589,7 +589,7 @@ public class TestFieldCacheVsDocValues extends LuceneTestCase {
|
|||
}
|
||||
|
||||
protected boolean codecAcceptsHugeBinaryValues(String field) {
|
||||
String name = Codec.getDefault().getName();
|
||||
String name = TestUtil.getDocValuesFormat(field);
|
||||
return !(name.equals("Lucene40") || name.equals("Lucene41") || name.equals("Lucene42") || name.equals("Memory") || name.equals("Direct"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue