Test fix - new binary doc values test could use invalid values.

This commit is contained in:
markharwood 2020-02-19 09:14:14 +00:00
parent b9a569e7be
commit 79a4a680e7
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ public abstract class BaseDocValuesFormatTestCase extends BaseIndexFileFormatTes
HashMap<Integer,BytesRef> writtenValues = new HashMap<>(numDocs);
// Small vocabulary ranges will be highly compressible
int vocabRange = random().nextInt(Byte.MAX_VALUE);
int vocabRange = 1 + random().nextInt(Byte.MAX_VALUE - 1);
for (int i = 0; i < numDocs; i++) {
Document doc = new Document();