You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2006/12/01 00:50:23 UTC
[jira] Commented: (HARMONY-2353) [classlib][luni]
org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testGetOutputStream()
intermittently fails
[ http://issues.apache.org/jira/browse/HARMONY-2353?page=comments#action_12454780 ]
Alexei Fedotov commented on HARMONY-2353:
-----------------------------------------
I reproduced the issue runing the test 200 times. After patching I cannot reproduce the problem after 1000 launches. Funny enough, the last testcase, which doesn't contain synchronization, works perfectly.
> [classlib][luni] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testGetOutputStream() intermittently fails
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2353
> URL: http://issues.apache.org/jira/browse/HARMONY-2353
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: SuSE 9, ia32, multi-processor
> Reporter: Alexei Fedotov
> Attachments: HARMONY-2353-HttpURLConnectionTest.patch
>
>
> I can reproduce the following failure:
> Wed Nov 29 03:08:21 MSK 2006
> .E...
> Time: 7.159
> There was 1 error:
> 1) testGetOutputStream(org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest)java.net.ConnectException: localhost/127.0.0.1:49599 - Connection refused
> at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
> at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
> at java.net.Socket.connect(Socket.java:978)
> at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:627)
> at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:608)
> at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:929)
> at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testGetOutputStream(HttpURLConnectionTest.java:174)
> at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> FAILURES!!!
> Tests run: 4, Failures: 0, Errors: 1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira