[TEST] Fix test bug in MultiOrdinalsTests.
This commit is contained in:
parent
2dfc77a4ed
commit
22cbdd930c
|
@ -125,7 +125,7 @@ public class MultiOrdinalsTests extends ElasticsearchTestCase {
|
||||||
assertIter(docs, docId, array);
|
assertIter(docs, docId, array);
|
||||||
}
|
}
|
||||||
for (int i = docId + 1; i < ordAndId.id; i++) {
|
for (int i = docId + 1; i < ordAndId.id; i++) {
|
||||||
assertThat(docs.getOrd(i), equalTo(0L));
|
assertThat(docs.getOrd(i), equalTo(Ordinals.MISSING_ORDINAL));
|
||||||
}
|
}
|
||||||
docId = ordAndId.id;
|
docId = ordAndId.id;
|
||||||
docOrds.clear();
|
docOrds.clear();
|
||||||
|
|
Loading…
Reference in New Issue