mirror of https://github.com/apache/lucene.git
switch to address that won't cause false fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1155030 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e1e8bc134a
commit
12eab24036
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue