harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tatyana doubtsova (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2821) [classlib] intermittent failure of org.apache.harmony.nio.channels.SocketChannelTest
Date Wed, 20 Dec 2006 15:34:21 GMT
[classlib] intermittent failure of org.apache.harmony.nio.channels.SocketChannelTest
------------------------------------------------------------------------------------

                 Key: HARMONY-2821
                 URL: http://issues.apache.org/jira/browse/HARMONY-2821
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: win XP, msvc, debug, r489062 
            Reporter: tatyana doubtsova


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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message