Apache Lucene open-source search software
tests: longer runs with tests.nightly
Mark Robert Millerfc9f019cdbbd
diff --git a/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java b/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.javaindex f4954edd40e..23bc9cb6379 100644--- a/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java+++ b/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java@@ -155,8 +155,13 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBaseif (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)];}