mirror of https://github.com/apache/lucene.git
LUCENE-3313: tone this down for nightlies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1148596 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb81de7e7a
commit
8091237ed0
|
@ -754,7 +754,7 @@ public abstract class LuceneTestCase extends Assert {
|
|||
* is active and {@link #RANDOM_MULTIPLIER}, but also with some random fudge.
|
||||
*/
|
||||
public static int atLeast(Random random, int i) {
|
||||
int min = (TEST_NIGHTLY ? 5*i : i) * RANDOM_MULTIPLIER;
|
||||
int min = (TEST_NIGHTLY ? 3*i : i) * RANDOM_MULTIPLIER;
|
||||
int max = min+(min/2);
|
||||
return _TestUtil.nextInt(random, min, max);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue