8016728: TEST_BUG: test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing intermittently
authorcoffeys
Tue, 19 Nov 2013 16:22:37 +0000
changeset 21817 6cd05743c175
parent 21816 1fa16478977c
child 21818 1f6c379e48f6
8016728: TEST_BUG: test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing intermittently Reviewed-by: chegar
jdk/test/java/rmi/transport/closeServerSocket/CloseServerSocket.java
--- a/jdk/test/java/rmi/transport/closeServerSocket/CloseServerSocket.java	Tue Nov 19 15:36:59 2013 +0000
+++ b/jdk/test/java/rmi/transport/closeServerSocket/CloseServerSocket.java	Tue Nov 19 16:22:37 2013 +0000
@@ -58,7 +58,7 @@
         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);
 
         /*