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@1237374 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a2bcb5ac9d
commit
40ee62e573
|
@ -28,8 +28,8 @@ import org.apache.lucene.util.LuceneTestCase;
|
||||||
import org.apache.lucene.util._TestUtil;
|
import org.apache.lucene.util._TestUtil;
|
||||||
|
|
||||||
public class TestParallelTermEnum extends LuceneTestCase {
|
public class TestParallelTermEnum extends LuceneTestCase {
|
||||||
private IndexReader ir1;
|
private DirectoryReader ir1;
|
||||||
private IndexReader ir2;
|
private DirectoryReader ir2;
|
||||||
private Directory rd1;
|
private Directory rd1;
|
||||||
private Directory rd2;
|
private Directory rd2;
|
||||||
|
|
||||||
|
@ -73,8 +73,8 @@ public class TestParallelTermEnum extends LuceneTestCase {
|
||||||
|
|
||||||
public void test1() throws IOException {
|
public void test1() throws IOException {
|
||||||
ParallelReader pr = new ParallelReader();
|
ParallelReader pr = new ParallelReader();
|
||||||
pr.add(ir1);
|
pr.add(new SlowCompositeReaderWrapper(ir1));
|
||||||
pr.add(ir2);
|
pr.add(new SlowCompositeReaderWrapper(ir2));
|
||||||
|
|
||||||
Bits liveDocs = pr.getLiveDocs();
|
Bits liveDocs = pr.getLiveDocs();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue