lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SOLR-2162) TestLBHttpSolrServer.testSimple test failure
Date Sun, 24 Oct 2010 19:24:18 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yonik Seeley resolved SOLR-2162.
--------------------------------

    Resolution: Fixed

Committed change so that setUp also used a multi-threaded connection manager.
Hopefully that will solve the issue.

> 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
>
>         Attachments: SOLR-2162_test.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message