You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2013/11/25 17:27:59 UTC
svn commit: r1545337 - in /lucene/dev/branches/branch_4x: ./ solr/
solr/test-framework/
solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java
Author: markrmiller
Date: Mon Nov 25 16:27:59 2013
New Revision: 1545337
URL: http://svn.apache.org/r1545337
Log:
tests: mark the control requests in logging output
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/solr/ (props changed)
lucene/dev/branches/branch_4x/solr/test-framework/ (props changed)
lucene/dev/branches/branch_4x/solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java
Modified: lucene/dev/branches/branch_4x/solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java?rev=1545337&r1=1545336&r2=1545337&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java (original)
+++ lucene/dev/branches/branch_4x/solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java Mon Nov 25 16:27:59 2013
@@ -614,6 +614,11 @@ public abstract class AbstractFullDistri
@Override
protected void indexDoc(SolrInputDocument doc) throws IOException,
SolrServerException {
+
+ UpdateRequest req = new UpdateRequest();
+ req.add(doc);
+ req.setParam("CONTROL", "TRUE");
+ req.process(controlClient);
controlClient.add(doc);
// if we wanted to randomly pick a client - but sometimes they may be