mirror of https://github.com/apache/lucene.git
add missing argument
This commit is contained in:
parent
b9e204c07d
commit
94d333983e
|
@ -82,7 +82,7 @@ public class BuildMaxPositionIndex {
|
||||||
BaseDirectoryWrapper dir = newFSDirectory(path);
|
BaseDirectoryWrapper dir = newFSDirectory(path);
|
||||||
dir.setCheckIndexOnClose(false);
|
dir.setCheckIndexOnClose(false);
|
||||||
RuntimeException expected = expectThrows(RuntimeException.class, () -> {
|
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"));
|
assertTrue(expected.getMessage().contains("pos 2147483647 > IndexWriter.MAX_POSITION=2147483519"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue