aparnasuresh85 commented on code in PR #2571: URL: https://github.com/apache/solr/pull/2571#discussion_r1690233893
########## solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientTest.java: ########## @@ -93,6 +94,22 @@ public class CloudHttp2SolrClientTest extends SolrCloudTestCase { private static CloudSolrClient httpBasedCloudSolrClient = null; private static CloudSolrClient zkBasedCloudSolrClient = null; + private static LogListener entireClusterStateLogs; + private static LogListener collectionClusterStateLogs; + private static LogListener commandLogs; Review Comment: I can look to create a "separate" `httpBasedCloudSolrClient`, different than the one created in the Test class. This way the LogListener can be used within this test with the "try-with-reources" pattern. -- 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