mirror of https://github.com/apache/lucene.git
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:
parent
1a9e9a4d49
commit
8719c6cd76
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue