8016728: TEST_BUG: test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing intermittently

Reviewed-by: chegar
This commit is contained in:
Sean Coffey 2013-11-19 16:22:37 +00:00
parent 49efd68082
commit 4c729287e7

View File

@ -58,7 +58,7 @@ public class CloseServerSocket implements Remote {
verifyPortInUse(PORT);
UnicastRemoteObject.unexportObject(registry, true);
System.err.println("- unexported registry");
Thread.sleep(1); // work around BindException (bug?)
Thread.sleep(1000); // work around BindException (bug?)
verifyPortFree(PORT);
/*