Code review request 8037346, Need to terminate server process if client runs into problems

Wang Weijun weijun.wang at oracle.com
Mon Mar 17 08:59:34 UTC 2014


What is the problem now? Test fails after 120 seconds of default timeout?

This SO_TIMEOUT could be useful to make sure a test fails early, but I am not sure if the value is big enough. If the failure is rare, I would choose 30 seconds.

--Max

On Mar 17, 2014, at 16:34, Xuelei Fan <xuelei.fan at oracle.com> wrote:

> Hi,
> 
> Please review this test fix:
> 
> webrev: http://cr.openjdk.java.net/~xuelei/8037346/webrev.00/
> 
> Tests fix. If client runs into problems, the server side may be blocked
> on socket.accept().  This fix set SO_TIMEOUT to 5 seconds for each
> server socket, so that if client runs into problems, the server will
> terminate itself within 5 seconds.
> 
> Thanks,
> Xuelei




More information about the security-dev mailing list