From daa97d0be48158f3eedbca9a56165d8a552433df Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Mon, 19 Dec 2011 19:52:52 +0000 Subject: [PATCH] make test more evil git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220922 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/src/test/org/apache/lucene/index/TestRollingUpdates.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/src/test/org/apache/lucene/index/TestRollingUpdates.java b/lucene/src/test/org/apache/lucene/index/TestRollingUpdates.java index 597d6c7a719..ba2b5fbffdd 100644 --- a/lucene/src/test/org/apache/lucene/index/TestRollingUpdates.java +++ b/lucene/src/test/org/apache/lucene/index/TestRollingUpdates.java @@ -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); }