epugh commented on code in PR #1158:
URL: https://github.com/apache/solr/pull/1158#discussion_r1031485348
##########
solr/solrj/src/test/org/apache/solr/client/solrj/impl/Http2SolrClientTest.java:
##########
@@ -423,9 +422,12 @@ public void testDelete() throws Exception {
client.getParser().getVersion(),
DebugServlet.parameters.get(CommonParams.VERSION)[0]);
// agent
assertEquals(EXPECTED_USER_AGENT,
DebugServlet.headers.get("user-agent"));
+ }
+ // XML
+ try (Http2SolrClient client =
+ new Http2SolrClient.Builder(url).withResponseParser(new
XMLResponseParser()).build()) {
- // XML
- client.setParser(new XMLResponseParser());
+ // client.setParser(new XMLResponseParser());
Review Comment:
thanks for the eyes!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]