mirror of https://github.com/apache/lucene.git
make test more evil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4eec465c37
commit
daa97d0be4
|
@ -45,7 +45,7 @@ public class TestRollingUpdates extends LuceneTestCase {
|
|||
final int SIZE = atLeast(20);
|
||||
int id = 0;
|
||||
IndexReader r = null;
|
||||
final int numUpdates = (int) (SIZE * (2+random.nextDouble()));
|
||||
final int numUpdates = (int) (SIZE * (2+(TEST_NIGHTLY ? 200*random.nextDouble() : 5*random.nextDouble())));
|
||||
if (VERBOSE) {
|
||||
System.out.println("TEST: numUpdates=" + numUpdates);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue