From 94d333983e5a57d1aae7278c6f2c030c6d401dcf Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Wed, 9 Mar 2016 11:25:00 -0500 Subject: [PATCH] add missing argument --- .../test/org/apache/lucene/index/TestMaxPositionInOldIndex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestMaxPositionInOldIndex.java b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestMaxPositionInOldIndex.java index 87625d20674..3608b8067e7 100644 --- a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestMaxPositionInOldIndex.java +++ b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestMaxPositionInOldIndex.java @@ -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"));