mirror of https://github.com/apache/lucene.git
check that docvalues type/size are equal
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214160 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3550d35822
commit
4b38791903
|
@ -528,6 +528,8 @@ public class TestDuelingCodecs extends LuceneTestCase {
|
|||
DocValues rightDocValues = MultiDocValues.getDocValues(rightReader, field);
|
||||
assertNotNull(info, leftDocValues);
|
||||
assertNotNull(info, rightDocValues);
|
||||
assertEquals(info, leftDocValues.type(), rightDocValues.type());
|
||||
assertEquals(info, leftDocValues.getValueSize(), rightDocValues.getValueSize());
|
||||
assertDocValuesSource(leftDocValues.getDirectSource(), rightDocValues.getDirectSource());
|
||||
assertDocValuesSource(leftDocValues.getSource(), rightDocValues.getSource());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue