You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/10/15 15:30:37 UTC

[jira] Commented: (SOLR-2163) SolrRequestParserTest.testStreamURL test failure

    [ https://issues.apache.org/jira/browse/SOLR-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921351#action_12921351 ] 

Robert Muir commented on SOLR-2163:
-----------------------------------

I think this is the right solution. if we can't connect to apache.org, we should ignore the test here.
its not solr's fault.

I'll commit shortly if there are no objections.

> SolrRequestParserTest.testStreamURL test failure
> ------------------------------------------------
>
>                 Key: SOLR-2163
>                 URL: https://issues.apache.org/jira/browse/SOLR-2163
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.1, 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2163.patch
>
>
> SolrRequestParserTest.testStreamURL failed, with this error:
> this test only works if you have a network connection.
> Here is the stacktrace:
> {noformat}
>     [junit] Testsuite: org.apache.solr.servlet.SolrRequestParserTest
>     [junit] Testcase: testStreamURL(org.apache.solr.servlet.SolrRequestParserTest):	FAILED
>     [junit] this test only works if you have a network connection.
>     [junit] junit.framework.AssertionFailedError: this test only works if you have a network connection.
>     [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] 	at org.apache.solr.servlet.SolrRequestParserTest.testStreamURL(SolrRequestParserTest.java:123)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 4, Failures: 1, Errors: 0, Time elapsed: 5.7 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=SolrRequestParserTest -Dtestmethod=testStreamURL -Dtests.seed=-8541875173831339371:8132050756643567111
>     [junit] NOTE: test params are: codec=MockVariableIntBlock(baseBlockSize=110), locale=en_IN, timezone=Pacific/Samoa
>     [junit] ------------- ---------------- ---------------
>     [junit] TEST org.apache.solr.servlet.SolrRequestParserTest 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