Skip to content

Apache Lucene open-source search software

test fix

Mark Robert Millera215370b3a87
diff --git a/solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java b/solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java
index f749d33eb3f..ca62e3defba 100644
--- a/solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java
+++ b/solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java
@@ -232,7 +232,7 @@ public class SolrCmdDistributorTest extends BaseDistributedSearchTestCase {
@Override
public void setUp() throws Exception {
super.setUp();
- executor = new ThreadPoolExecutor(0, 5 * 16, 5,
+ executor = new ThreadPoolExecutor(0, Integer.MAX_VALUE, 5,
TimeUnit.SECONDS, new SynchronousQueue<Runnable>(),
new DefaultSolrThreadFactory("cmdDistribExecutor"));
}