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:
Robert Muir 2014-05-17 12:36:21 +00:00
parent d73ff28707
commit 4affe33430
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}
}