dsmiley commented on code in PR #1374:
URL: https://github.com/apache/solr/pull/1374#discussion_r1118128772

##########
solr/solrj/src/test/org/apache/solr/client/solrj/response/TestSuggesterResponse.java:
##########
@@ -119,8 +119,8 @@ public void testEmptySuggesterResponse() throws Exception {
   }
 
   private void addSampleDocs() throws SolrServerException, IOException {
-    getClient().deleteByQuery("*:*");
-    getClient().commit(true, true);
+    solrClientTestRule.getSolrClient().deleteByQuery("*:*");
+    solrClientTestRule.getSolrClient().commit(true, true);

Review Comment:
   Nope; we agreed we'd leave much test code as it was, simply calling 
`getSolrClient` defined by SolrJettyTestBase which will indeed get the client 
from the rule.



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

Reply via email to