Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

switch to address that won't cause false fails

Robert Muir12eab2403651
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExceptionTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExceptionTest.java
index f7dc9400d77..674700eb5d8 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExceptionTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExceptionTest.java
@@ -40,7 +40,7 @@ public class SolrExceptionTest extends LuceneTestCase {
// set a 1ms timeout to let the connection fail faster.
HttpClient httpClient = new HttpClient(new MultiThreadedHttpConnectionManager());
httpClient.getParams().setParameter("http.connection.timeout", new Integer(1));
- SolrServer client = new CommonsHttpSolrServer("http://localhost:11235/solr/", httpClient);
+ SolrServer client = new CommonsHttpSolrServer("http://[ff01::114]:11235/solr/", httpClient);
SolrQuery query = new SolrQuery("test123");
client.query(query);
} catch (SolrServerException sse) {