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:
Robert Muir 2014-11-06 09:21:58 +00:00
parent 3e5a59c20a
commit 4162890bb6
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ public class TestAutomatonQuery extends LuceneTestCase {
public void testHashCodeWithThreads() throws Exception {
final AutomatonQuery queries[] = new AutomatonQuery[1000];
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);
int numThreads = TestUtil.nextInt(random(), 2, 5);