LUCENE-2858: fix test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237352 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-01-29 17:08:05 +00:00
parent 1a9e9a4d49
commit 8719c6cd76
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public class TestThreadedForceMerge extends LuceneTestCase {
TEST_VERSION_CURRENT, ANALYZER).setOpenMode(
OpenMode.APPEND).setMaxBufferedDocs(2));
IndexReader reader = IndexReader.open(directory);
DirectoryReader reader = IndexReader.open(directory);
assertEquals("reader=" + reader, 1, reader.getSequentialSubReaders().length);
assertEquals(expectedDocCount, reader.numDocs());
reader.close();