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:
Michael McCandless 2011-12-19 19:52:52 +00:00
parent 4eec465c37
commit daa97d0be4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}