TestLBHttpSolrServer.testSimple test failure
--------------------------------------------
Key: SOLR-2162
URL: https://issues.apache.org/jira/browse/SOLR-2162
Project: Solr
Issue Type: Bug
Components: Build
Affects Versions: 3.1, 4.0
Environment: Hudson
Reporter: Robert Muir
Fix For: 3.1, 4.0
TestLBHttpSolrServer failed, with this error:
java.lang.IllegalStateException: Connection is not open
Here is the stacktrace:
{noformat}
[junit] Testsuite: org.apache.solr.client.solrj.TestLBHttpSolrServer
[junit] Testcase:
testSimple(org.apache.solr.client.solrj.TestLBHttpSolrServer): Caused an
ERROR
[junit] java.lang.IllegalStateException: Connection is not open
[junit] org.apache.solr.client.solrj.SolrServerException:
java.lang.IllegalStateException: Connection is not open
[junit] at
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:409)
[junit] at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
[junit] at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:119)
[junit] at
org.apache.solr.client.solrj.TestLBHttpSolrServer.testSimple(TestLBHttpSolrServer.java:120)
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
[junit] Caused by: java.lang.IllegalStateException: Connection is not open
[junit] at
org.apache.commons.httpclient.HttpConnection.assertOpen(HttpConnection.java:1277)
[junit] at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
[junit] at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
[junit] at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
[junit] at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
[junit] at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
[junit] at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
[junit] at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
[junit] at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
[junit] at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:427)
[junit] at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
[junit] at
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:395)
[junit]
[junit]
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 10.319 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] NOTE: reproduce with: ant test -Dtestcase=TestLBHttpSolrServer
-Dtestmethod=testSimple -Dtests.seed=-4677869093300417770:-570157895683071678
[junit] NOTE: test params are: codec=SimpleText, locale=hr_HR,
timezone=Asia/Kathmandu
[junit] ------------- ---------------- ---------------
[junit] TEST org.apache.solr.client.solrj.TestLBHttpSolrServer FAILED
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]