From e0af29f9e331fb43ec1bde357ff09b22d15b8f7c Mon Sep 17 00:00:00 2001 From: Timothy Potter Date: Wed, 16 Jul 2014 02:18:38 +0000 Subject: [PATCH] SOLR_6136: fix minor issues found by precommit checks git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610902 13f79535-47bb-0310-9956-ffa450edef68 --- .../client/solrj/impl/ConcurrentUpdateSolrServerTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/ConcurrentUpdateSolrServerTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/ConcurrentUpdateSolrServerTest.java index 74f008f7126..8e684c611c2 100644 --- a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/ConcurrentUpdateSolrServerTest.java +++ b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/ConcurrentUpdateSolrServerTest.java @@ -38,6 +38,7 @@ import org.apache.solr.SolrJettyTestBase; import org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec; import org.apache.solr.client.solrj.request.UpdateRequest; import org.apache.solr.common.SolrInputDocument; +import org.apache.solr.common.util.SolrjNamedThreadFactory; import org.apache.solr.util.ExternalPaths; import org.junit.BeforeClass; import org.junit.Test; @@ -82,7 +83,7 @@ public class ConcurrentUpdateSolrServerTest extends SolrJettyTestBase { } private void setParameters(HttpServletRequest req) { - parameters = req.getParameterMap(); + //parameters = req.getParameterMap(); } @Override @@ -164,7 +165,7 @@ public class ConcurrentUpdateSolrServerTest extends SolrJettyTestBase { cuss.blockUntilFinished(); int poolSize = 5; - ExecutorService threadPool = Executors.newFixedThreadPool(poolSize); + ExecutorService threadPool = Executors.newFixedThreadPool(poolSize, new SolrjNamedThreadFactory("testCUSS")); int numDocs = 100; int numRunnables = 5;