mirror of https://github.com/apache/lucene.git
SOLR-6418: ChaosMonkeySafeLeaderTest is to slow on non nightly runs sometimes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620162 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7f51411223
commit
8450b95c70
|
@ -117,8 +117,13 @@ public class ChaosMonkeySafeLeaderTest extends AbstractFullDistribZkTestBase {
|
|||
if (RUN_LENGTH != -1) {
|
||||
runLength = RUN_LENGTH;
|
||||
} else {
|
||||
int[] runTimes = new int[] {5000, 6000, 10000, 25000, 27000, 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[] {5000, 7000, 15000};
|
||||
}
|
||||
runLength = runTimes[random().nextInt(runTimes.length - 1)];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue