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 Zakharov (JIRA)" <ji...@apache.org> on 2007/01/22 09:53:30 UTC
[jira] Commented: (HARMONY-2821) [classlib] intermittent failure of
org.apache.harmony.nio.channels.SocketChannelTest
[ https://issues.apache.org/jira/browse/HARMONY-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466418 ]
Alexei Zakharov commented on HARMONY-2821:
------------------------------------------
I'm closing this bug as a duplicate for HARMONY-2338. If the problem persists we can reopen it anytime.
> [classlib] intermittent failure of org.apache.harmony.nio.channels.SocketChannelTest
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-2821
> URL: https://issues.apache.org/jira/browse/HARMONY-2821
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: win XP, msvc, debug, r489062
> Reporter: tatyana doubtsova
> Assigned To: Alexei Zakharov
>
> Intermittent failure (1 time out of 50) of org.apache.harmony.nio.channels.SocketChannelTest@testCFII_FinishTwice_Server_Block
> Error
> The address is already in use
> java.net.BindException: The address is already in use at org.apache.harmony.luni.platform.OSNetworkSystem.socketBindImpl(OSNetworkSystem.java) at org.apache.harmony.luni.platform.OSNetworkSystem.bind(OSNetworkSystem.java:126) at org.apache.harmony.luni.net.PlainSocketImpl.bind(PlainSocketImpl.java:161) at java.net.ServerSocket.<init>(ServerSocket.java:116) at java.net.ServerSocket.<init>(ServerSocket.java:72) at org.apache.harmony.nio.tests.java.nio.channels.SocketChannelTest.ensureServerOpen(SocketChannelTest.java:1347) at org.apache.harmony.nio.tests.java.nio.channels.SocketChannelTest.connectServerBlock(SocketChannelTest.java:1382) at org.apache.harmony.nio.tests.java.nio.channels.SocketChannelTest.testCFII_FinishTwice_Server_Block(SocketChannelTest.java:753) at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> to reproduce try
> #!/bin/sh
> A=0
> while [ "$A" -lt "50" ]; do
> ant -Dtest.jre.home=<path to jre> -Dbuild.module=nio -Dhy.test.vm.name=drl -Dhy.test.forkmode=once test
> A=`expr $A + 1`
> done
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira