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
This commit is contained in:
Mark Robert Miller 2013-11-25 16:25:51 +00:00
parent 64c394c714
commit 42ead72e6f
1 changed files with 5 additions and 0 deletions

View File

@ -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