Code review request, 8037557 test timeout

Weijun Wang at
Fri Apr 11 02:36:41 UTC 2014

On 4/11/2014 10:15, Xuelei Fan wrote:
> When line 374 get called, the test is nearly done (client complete its
> jobs, and server accepted all connections).

If it's nearly done and no bad thing will happen, then you don't need to 
call serverThread.join(120000). Otherwise, you risk a false success.

Is there a way to find out if the exit of thread.join(time) is due to 
thread exit or timeout? If so, you can throw an exception if it's a timeout.



More information about the security-dev mailing list