mirror of https://github.com/apache/lucene.git
LUCENE-6046: let this test determinize massive automata
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637054 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3e5a59c20a
commit
4162890bb6
|
@ -214,7 +214,7 @@ public class TestAutomatonQuery extends LuceneTestCase {
|
||||||
public void testHashCodeWithThreads() throws Exception {
|
public void testHashCodeWithThreads() throws Exception {
|
||||||
final AutomatonQuery queries[] = new AutomatonQuery[1000];
|
final AutomatonQuery queries[] = new AutomatonQuery[1000];
|
||||||
for (int i = 0; i < queries.length; i++) {
|
for (int i = 0; i < queries.length; i++) {
|
||||||
queries[i] = new AutomatonQuery(new Term("bogus", "bogus"), AutomatonTestUtil.randomAutomaton(random()));
|
queries[i] = new AutomatonQuery(new Term("bogus", "bogus"), AutomatonTestUtil.randomAutomaton(random()), Integer.MAX_VALUE);
|
||||||
}
|
}
|
||||||
final CountDownLatch startingGun = new CountDownLatch(1);
|
final CountDownLatch startingGun = new CountDownLatch(1);
|
||||||
int numThreads = TestUtil.nextInt(random(), 2, 5);
|
int numThreads = TestUtil.nextInt(random(), 2, 5);
|
||||||
|
|
Loading…
Reference in New Issue