mirror of
https://github.com/apache/lucene.git
synced 2025-03-04 15:29:28 +00:00
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);
|
final int SIZE = atLeast(20);
|
||||||
int id = 0;
|
int id = 0;
|
||||||
IndexReader r = null;
|
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) {
|
if (VERBOSE) {
|
||||||
System.out.println("TEST: numUpdates=" + numUpdates);
|
System.out.println("TEST: numUpdates=" + numUpdates);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user