mirror of https://github.com/apache/lucene.git
add missing IR.close() in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369876 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ee280234f4
commit
3930247e77
|
@ -128,6 +128,7 @@ public class TestLazyProxSkipping extends LuceneTestCase {
|
||||||
// check if the number of calls of seek() does not exceed the number of hits
|
// check if the number of calls of seek() does not exceed the number of hits
|
||||||
assertTrue(this.seeksCounter > 0);
|
assertTrue(this.seeksCounter > 0);
|
||||||
assertTrue("seeksCounter=" + this.seeksCounter + " numHits=" + numHits, this.seeksCounter <= numHits + 1);
|
assertTrue("seeksCounter=" + this.seeksCounter + " numHits=" + numHits, this.seeksCounter <= numHits + 1);
|
||||||
|
searcher.getIndexReader().close();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testLazySkipping() throws IOException {
|
public void testLazySkipping() throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue