dev@grizzly.java.net

unit test case failures on Solaris x86

From: charlie hunt <charlie.hunt_at_sun.com>
Date: Fri, 18 May 2007 09:32:08 -0500

FYI, it appears we have stumbled into yet another one of those peculiar
behaviors between operating systems. The following unit test cases are
failing:
Tests in error:
  testSimplePacket(com.sun.grizzly.DefaultControllerTest)
  testSeveralPackets(com.sun.grizzly.DefaultControllerTest)
  testSimplePacket(com.sun.grizzly.TCPConnectorHandlerTest)

They are failing in TCPConnectorHandler.connect(SocketAddress,
SocketAddress, CallbackHandler, TCPSelectorHandler). It appears the
test case is spinning in the try / catch block that does the
isConnectedLatch.await(). Jeanfrancois has put a timeout of 30 seconds
in the ConnectedLatch.await() so the test cases will complete.

I can easily reproduce the problem. But, I'm kinda swamped at the
moment so I won't be able to look at it what the problem is for a little
while.

I'm also wondering if we shouldn't consider a more frequent unit test
case run on all platforms or ask for volunteers to run unit test cases
for a given platform at regular intervals or after some number of commits ?

charlie ....