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
This commit is contained in:
Timothy Potter 2014-07-16 02:18:38 +00:00
parent 591de0e0c6
commit e0af29f9e3
1 changed files with 3 additions and 2 deletions

View File

@ -38,6 +38,7 @@ import org.apache.solr.SolrJettyTestBase;
import org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec; import org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec;
import org.apache.solr.client.solrj.request.UpdateRequest; import org.apache.solr.client.solrj.request.UpdateRequest;
import org.apache.solr.common.SolrInputDocument; import org.apache.solr.common.SolrInputDocument;
import org.apache.solr.common.util.SolrjNamedThreadFactory;
import org.apache.solr.util.ExternalPaths; import org.apache.solr.util.ExternalPaths;
import org.junit.BeforeClass; import org.junit.BeforeClass;
import org.junit.Test; import org.junit.Test;
@ -82,7 +83,7 @@ public class ConcurrentUpdateSolrServerTest extends SolrJettyTestBase {
} }
private void setParameters(HttpServletRequest req) { private void setParameters(HttpServletRequest req) {
parameters = req.getParameterMap(); //parameters = req.getParameterMap();
} }
@Override @Override
@ -164,7 +165,7 @@ public class ConcurrentUpdateSolrServerTest extends SolrJettyTestBase {
cuss.blockUntilFinished(); cuss.blockUntilFinished();
int poolSize = 5; int poolSize = 5;
ExecutorService threadPool = Executors.newFixedThreadPool(poolSize); ExecutorService threadPool = Executors.newFixedThreadPool(poolSize, new SolrjNamedThreadFactory("testCUSS"));
int numDocs = 100; int numDocs = 100;
int numRunnables = 5; int numRunnables = 5;