LUCENE-2598: make this test not use so many file descriptors

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989315 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2010-08-25 19:27:57 +00:00
parent 1238382bf4
commit 6621fd22a9
1 changed files with 1 additions and 0 deletions

View File

@ -651,6 +651,7 @@ public class TestIndexWriterReader extends LuceneTestCase {
do {
try {
writer.addIndexes(dirs);
writer.maybeMerge();
} catch (Throwable t) {
excs.add(t);
throw new RuntimeException(t);