Apache Lucene open-source search software
tests: speed up non nightly run
markrmillerfa959ad25d24
diff --git a/solr/core/src/test/org/apache/solr/cloud/TestStressLiveNodes.java b/solr/core/src/test/org/apache/solr/cloud/TestStressLiveNodes.javaindex 80b717eb315..52ab3a3def2 100644--- a/solr/core/src/test/org/apache/solr/cloud/TestStressLiveNodes.java+++ b/solr/core/src/test/org/apache/solr/cloud/TestStressLiveNodes.java@@ -132,7 +132,7 @@ public class TestStressLiveNodes extends SolrCloudTestCase {public void testStress() throws Exception {// do many iters, so we have "bursts" of adding nodes that we then check- final int numIters = atLeast(1000);+ final int numIters = atLeast(TEST_NIGHTLY ? 1000 : 100);for (int iter = 0; iter < numIters; iter++) {// sanity check that ZK says there is in fact 1 live node