From 42ead72e6f778d55a3fa9565c79c2a84f7c4466b Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Mon, 25 Nov 2013 16:25:51 +0000 Subject: [PATCH] tests: mark the control requests in logging output git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545336 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/solr/cloud/AbstractFullDistribZkTestBase.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java b/solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java index 813d9e481c9..99c9aec79c2 100644 --- a/solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java +++ b/solr/test-framework/src/java/org/apache/solr/cloud/AbstractFullDistribZkTestBase.java @@ -614,6 +614,11 @@ public abstract class AbstractFullDistribZkTestBase extends AbstractDistribZkTes @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