Apache Lucene open-source search software
LUCENE-6046: let this test determinize massive automata
Robert Muir4162890bb66b
diff --git a/lucene/core/src/test/org/apache/lucene/search/TestAutomatonQuery.java b/lucene/core/src/test/org/apache/lucene/search/TestAutomatonQuery.javaindex 9b34c577d81..45e44868339 100644--- a/lucene/core/src/test/org/apache/lucene/search/TestAutomatonQuery.java+++ b/lucene/core/src/test/org/apache/lucene/search/TestAutomatonQuery.java@@ -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);