[logback-dev] [JIRA] Commented: (LBCORE-129) IncludeActionTest fails at unknownURL()

Joern Huxhorn (JIRA) noreply-jira at qos.ch
Fri Feb 26 14:39:16 CET 2010


    [ http://jira.qos.ch/browse/LBCORE-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11574#action_11574 ] 

Joern Huxhorn commented on LBCORE-129:
--------------------------------------

Workaround: unplugging the network cable while building.

java.lang.AssertionError: 
	at org.junit.Assert.fail(Assert.java:74)
	at org.junit.Assert.assertTrue(Assert.java:37)
	at org.junit.Assert.assertTrue(Assert.java:46)
	at ch.qos.logback.core.joran.action.IncludeActionTest.unknownURL(IncludeActionTest.java:179)

Those are the exceptions contained:
java.io.FileNotFoundException
org.xml.sax.SAXParseException
java.net.MalformedURLException
java.io.IOException

The test checks for UnknownHostException instead.

It runs correctly when I unplug my network cable:
java.io.FileNotFoundException
org.xml.sax.SAXParseException
java.net.MalformedURLException
java.net.UnknownHostException

I'm running Mac OS X which is likely the cause of this problem.

> IncludeActionTest fails at unknownURL()
> ---------------------------------------
>
>                 Key: LBCORE-129
>                 URL: http://jira.qos.ch/browse/LBCORE-129
>             Project: logback-core
>          Issue Type: Bug
>    Affects Versions: 0.9.18
>         Environment: Mac OS X 10.5.8
>            Reporter: Joern Huxhorn
>            Assignee: Logback dev list
>
> Instead of an UnknownHostException the actual exception is
> java.io.IOException: Server returned HTTP response code: 503 for URL: http://logback2345.qos.ch

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list