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


##########
solr/test-framework/src/java/org/apache/solr/SolrJettyTestBase.java:
##########
@@ -125,7 +125,7 @@ public static void afterSolrJettyTestBase() throws 
Exception {
 
   public synchronized SolrClient getSolrClient() {
     if (client == null) {
-      client = createNewSolrClient();
+      client = solrClientTestRule.getSolrClient();

Review Comment:
   I LOVE this!    So many "createXYZClient" littering the test code!



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