mirror of https://github.com/apache/lucene.git
fix test to not create such a big automaton
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637448 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
39e7625798
commit
063b9c5c80
|
@ -242,9 +242,9 @@ public class TestAutomatonQuery extends LuceneTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
public void testHugeAutomaton() {
|
||||
public void testBiggishAutomaton() {
|
||||
List<BytesRef> terms = new ArrayList<>();
|
||||
while (terms.size() < 10000) {
|
||||
while (terms.size() < 3000) {
|
||||
terms.add(new BytesRef(TestUtil.randomUnicodeString(random())));
|
||||
}
|
||||
Collections.sort(terms);
|
||||
|
|
Loading…
Reference in New Issue