mirror of https://github.com/apache/lucene.git
#240: disable threads in the random IndexSearcher from newSearcher for this test class
This commit is contained in:
parent
2bb69f3246
commit
8703b541a5
|
@ -59,7 +59,8 @@ public class TestTopFieldCollector extends LuceneTestCase {
|
|||
}
|
||||
ir = iw.getReader();
|
||||
iw.close();
|
||||
is = newSearcher(ir);
|
||||
// cannot use threads with this IndexSearcher since some tests rely on no threads
|
||||
is = newSearcher(ir, true, true, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue