mirror of https://github.com/apache/lucene.git
SOLR-2163: SolrRequestParserTest.testStreamURL test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022939 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dd1c7a8585
commit
20794e47f3
|
@ -39,6 +39,7 @@ import org.apache.solr.common.params.SolrParams;
|
|||
import org.apache.solr.common.util.ContentStream;
|
||||
import org.apache.solr.core.SolrCore;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Assume;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -119,8 +120,8 @@ public class SolrRequestParserTest extends SolrTestCaseJ4 {
|
|||
txt = IOUtils.toString( connection.getInputStream());
|
||||
}
|
||||
catch( Exception ex ) {
|
||||
// TODO - should it fail/skip?
|
||||
fail( "this test only works if you have a network connection." );
|
||||
System.out.println( "this test only works if you have a network connection." );
|
||||
Assume.assumeNoException(ex);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue