epugh commented on code in PR #1158: URL: https://github.com/apache/solr/pull/1158#discussion_r1014386128
########## solr/solrj/src/test/org/apache/solr/client/solrj/TestSolrJErrorHandling.java: ########## @@ -102,16 +102,19 @@ public void showExceptions() throws Exception { @Test public void testWithXml() throws Exception { - HttpSolrClient client = (HttpSolrClient) getSolrClient(); - client.setRequestWriter(new RequestWriter()); + client = + new HttpSolrClient.Builder(getServerUrl()).withRequestWriter(new RequestWriter()).build(); + Review Comment: Done -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org