mirror of https://github.com/apache/lucene.git
SOLR-5920: fix CursorMarkTest.getRandomCollation() to call termAtt.fillBytesRef() and ts.end()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582934 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a53c78d7ef
commit
145dcab3ca
|
@ -310,6 +310,9 @@ public class CursorMarkTest extends SolrTestCaseJ4 {
|
|||
val = termAtt.getBytesRef();
|
||||
ts.reset();
|
||||
assertTrue(ts.incrementToken());
|
||||
termAtt.fillBytesRef();
|
||||
assertFalse(ts.incrementToken());
|
||||
ts.end();
|
||||
}
|
||||
return val;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue