Apache Lucene open-source search software
add missing IR.close() in this test
Michael McCandless3930247e7775
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java b/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.javaindex b8716b7dbaf..bc346a366f5 100755--- a/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java+++ b/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java@@ -128,6 +128,7 @@ public class TestLazyProxSkipping extends LuceneTestCase {// check if the number of calls of seek() does not exceed the number of hitsassertTrue(this.seeksCounter > 0);assertTrue("seeksCounter=" + this.seeksCounter + " numHits=" + numHits, this.seeksCounter <= numHits + 1);+ searcher.getIndexReader().close();}public void testLazySkipping() throws IOException {