LUCENE-3606: Fix test; TODO: LuceneTestCase/MockDirectoryWrapper should detect this

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211218 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2011-12-06 22:50:17 +00:00
parent 04e8ae2eeb
commit 28875e4015
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ public class TestBufferedIndexInput extends LuceneTestCase {
assertEquals(35, hits.length); assertEquals(35, hits.length);
writer.close(); writer.close();
searcher.close(); searcher.close();
reader.close();
} finally { } finally {
_TestUtil.rmDir(indexDir); _TestUtil.rmDir(indexDir);
} }