mirror of https://github.com/apache/lucene.git
tests: longer runs with tests.nightly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559790 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fad37f1984
commit
fc9f019cdb
|
@ -155,8 +155,13 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBase
|
|||
if (RUN_LENGTH != -1) {
|
||||
runLength = RUN_LENGTH;
|
||||
} else {
|
||||
int[] runTimes = new int[] {5000, 6000, 10000, 15000, 25000, 30000,
|
||||
30000, 45000, 90000, 120000};
|
||||
int[] runTimes;
|
||||
if (TEST_NIGHTLY) {
|
||||
runTimes = new int[] {5000, 6000, 10000, 15000, 25000, 30000,
|
||||
30000, 45000, 90000, 120000};
|
||||
} else {
|
||||
runTimes = new int[] {145000, 240000, 300000};
|
||||
}
|
||||
runLength = runTimes[random().nextInt(runTimes.length - 1)];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue