mirror of
https://github.com/apache/lucene.git
synced 2025-02-10 20:15:18 +00:00
add missing argument
This commit is contained in:
parent
b9e204c07d
commit
94d333983e
@ -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"));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user