tests: mark the control requests in logging output for deletes as well

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-11-25 20:46:17 +00:00
parent 78a40b68fb
commit dc147b8ee0
1 changed files with 5 additions and 1 deletions

View File

@ -1375,7 +1375,11 @@ public abstract class AbstractFullDistribZkTestBase extends AbstractDistribZkTes
Integer delete = deletes.remove(0);
try {
numDeletes++;
controlClient.deleteById(Integer.toString(delete));
UpdateRequest req = new UpdateRequest();
req.deleteById(Integer.toString(delete));
req.setParam("CONTROL", "TRUE");
req.process(controlClient);
cloudClient.deleteById(Integer.toString(delete));
} catch (Exception e) {
System.err.println("REQUEST FAILED:");