add missing argument

This commit is contained in:
Mike McCandless 2016-03-09 11:25:00 -05:00
parent b9e204c07d
commit 94d333983e
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class BuildMaxPositionIndex {
BaseDirectoryWrapper dir = newFSDirectory(path);
dir.setCheckIndexOnClose(false);
RuntimeException expected = expectThrows(RuntimeException.class, () -> {
TestUtil.checkIndex(dir, false, true);
TestUtil.checkIndex(dir, false, true, null);
});
assertTrue(expected.getMessage().contains("pos 2147483647 > IndexWriter.MAX_POSITION=2147483519"));