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: [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]