You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2009/07/08 10:20:14 UTC

[jira] Commented: (HARMONY-6263) [classlib][luni] HttpURLConnectionTest unstable

    [ https://issues.apache.org/jira/browse/HARMONY-6263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728554#action_12728554 ] 

Mark Hindess commented on HARMONY-6263:
---------------------------------------

I think the error message from the error example is a little misleading as it is nothing to do with ipv4/ipv6 but the socket is invalid for some other reason (closed already perhaps).



> [classlib][luni] HttpURLConnectionTest unstable
> -----------------------------------------------
>
>                 Key: HARMONY-6263
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6263
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>         Environment: Linux/x86_64
>            Reporter: Mark Hindess
>
> This test breaks intermittently for me.  An example failure:
> testUsingProxySelector(org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest)junit.framework.AssertionFailedError: Connection does not use proxy
>         at org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxySelector(HttpURLConnectionTest.java:499)
>         at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:197)
> and an example error:
> testUsingProxySelector(org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest)java.net.SocketException: Address family not supported by protocol
>         at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:241)
>         at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:529)
>         at java.net.Socket.connect(Socket.java:962)
>         at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:62)
>         at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager$ConnectionPool.getHttpConnection(HttpConnectionManager.java:142)
>         at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:67)
>         at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:659)
>         at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:645)
>         at org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxySelector(HttpURLConnectionTest.java:493)
>         at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:197)
> I plan to exclude this test on linux until someone has chance to look at this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.