mirror of https://github.com/apache/lucene.git
Fix test bug.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440311 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a81ac90986
commit
913b168255
|
@ -251,7 +251,7 @@ public class TestPayloadsOnVectors extends LuceneTestCase {
|
|||
for (int i = 0; i < len; ++i) {
|
||||
terms[i] = RandomPicks.randomFrom(random(), sampleTerms);
|
||||
if (weird) {
|
||||
positionsIncrements[i] = random().nextInt(1 << 18);
|
||||
positionsIncrements[i] = _TestUtil.nextInt(random(), 1, 1 << 18);
|
||||
startOffsets[i] = random().nextInt();
|
||||
endOffsets[i] = random().nextInt();
|
||||
} else if (i == 0) {
|
||||
|
|
Loading…
Reference in New Issue