mirror of https://github.com/apache/lucene.git
make test less evil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618128 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eddeca9215
commit
ca08459be9
|
@ -580,10 +580,16 @@ public class TestAutomaton extends LuceneTestCase {
|
|||
}
|
||||
return Operations.determinize(a);
|
||||
case 1:
|
||||
if (VERBOSE) {
|
||||
System.out.println(" randomNoOp: minimize");
|
||||
if (a.getNumStates() < 100) {
|
||||
if (VERBOSE) {
|
||||
System.out.println(" randomNoOp: minimize");
|
||||
}
|
||||
return MinimizationOperations.minimize(a);
|
||||
} else {
|
||||
if (VERBOSE) {
|
||||
System.out.println(" randomNoOp: skip op=minimize: too many states (" + a.getNumStates() + ")");
|
||||
}
|
||||
}
|
||||
return MinimizationOperations.minimize(a);
|
||||
case 2:
|
||||
if (VERBOSE) {
|
||||
System.out.println(" randomNoOp: removeDeadStates");
|
||||
|
@ -723,7 +729,7 @@ public class TestAutomaton extends LuceneTestCase {
|
|||
break;
|
||||
|
||||
case 3:
|
||||
if (a.getNumStates() < 200) {
|
||||
if (a.getNumStates() < 100) {
|
||||
if (VERBOSE) {
|
||||
System.out.println(" op=minimize");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue