Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-11106: TestLBHttpSolrClient.testReliablity takes 30 seconds because of the wrong server name

Erick Ericksondd5be42e6cd4
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 176d0e4c971..0e4bb42b8b8 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -94,6 +94,9 @@ Other Changes
* SOLR-11052: Remove unnecessary Long-to-Integer and back casts in ReplicationHandler.
(Ramsey Haddad via Christine Poerschke)
+* SOLR-11106: TestLBHttpSolrClient.testReliablity takes 30 seconds because of the wrong server name
+ (Kensho Hirasawa via Erick Erickson)
+
================== 7.0.0 ==================
Versions of Major Components
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttpSolrClient.java b/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttpSolrClient.java
index 4aa5951b145..b3a651887ae 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttpSolrClient.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttpSolrClient.java
@@ -220,7 +220,7 @@ public class TestLBHttpSolrClient extends SolrTestCaseJ4 {
// Start the killed server once again
solr[1].startJetty();
// Wait for the alive check to complete
- waitForServer(30, client, 3, "solr1");
+ waitForServer(30, client, 3, solr[1].name);
} finally {
HttpClientUtil.close(myHttpClient);
}