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:
Robert Muir 2010-10-15 14:28:42 +00:00
parent dd1c7a8585
commit 20794e47f3
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}