SOLR-7362: Log the actual payload being sent to Solr

This commit is contained in:
Shalin Shekhar Mangar 2016-07-18 10:59:23 +05:30
parent 10f3700e72
commit 05b38f5f21
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ public class TestSolrConfigHandler extends RestTestBase {
public static void runConfigCommand(RestTestHarness harness, String uri, String payload) throws IOException {
String json = SolrTestCaseJ4.json(payload);
log.info("going to send config command. path {} , payload: ", uri, payload);
log.info("going to send config command. path {} , payload: {}", uri, payload);
String response = harness.post(uri, json);
Map map = (Map) ObjectBuilder.getVal(new JSONParser(new StringReader(response)));
assertNull(response, map.get("errors"));