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:
Mark Robert Miller 2014-01-20 17:54:18 +00:00
parent fad37f1984
commit fc9f019cdb
1 changed files with 7 additions and 2 deletions

View File

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