Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-17667: In LBHttp2SolrClientIntegrationTest only listen on the client DEBUG logging

Houston Putman4dec964b6c7d
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/LBHttp2SolrClientIntegrationTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/LBHttp2SolrClientIntegrationTest.java
index 9a825b9c196..fe31f521422 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/LBHttp2SolrClientIntegrationTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/LBHttp2SolrClientIntegrationTest.java
@@ -218,7 +218,7 @@ public class LBHttp2SolrClientIntegrationTest extends SolrTestCaseJ4 {
private void startJettyAndWaitForAliveCheckQuery(SolrInstance solrInstance) throws Exception {
try (LogListener logListener =
- LogListener.debug().substring(LBSolrClient.UPDATE_LIVE_SERVER_MESSAGE)) {
+ LogListener.debug(LBSolrClient.class).substring(LBSolrClient.UPDATE_LIVE_SERVER_MESSAGE)) {
solrInstance.startJetty();
if (logListener.pollMessage(10, TimeUnit.SECONDS) == null) {
fail("The alive check query was not logged within 10 seconds.");