mirror of https://github.com/apache/lucene.git
support -Dtests.iter correctly in TestFieldsReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139199 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ca68be5360
commit
8d742c45ad
|
@ -59,6 +59,11 @@ public class TestFieldsReader extends LuceneTestCase {
|
|||
IndexWriter writer = new IndexWriter(dir, conf);
|
||||
writer.addDocument(testDoc);
|
||||
writer.close();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
FaultyIndexInput.doFail = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue