You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/08/06 18:36:59 UTC
svn commit: r1369876 -
/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java
Author: mikemccand
Date: Mon Aug 6 16:36:58 2012
New Revision: 1369876
URL: http://svn.apache.org/viewvc?rev=1369876&view=rev
Log:
add missing IR.close() in this test
Modified:
lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java
Modified: lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java?rev=1369876&r1=1369875&r2=1369876&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java (original)
+++ lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java Mon Aug 6 16:36:58 2012
@@ -128,6 +128,7 @@ public class TestLazyProxSkipping extend
// check if the number of calls of seek() does not exceed the number of hits
assertTrue(this.seeksCounter > 0);
assertTrue("seeksCounter=" + this.seeksCounter + " numHits=" + numHits, this.seeksCounter <= numHits + 1);
+ searcher.getIndexReader().close();
}
public void testLazySkipping() throws IOException {