jdk/test/java/lang/ProcessBuilder/Basic.java
changeset 13581 b3fe3cd75b37
parent 13149 27d52f97a5cc
child 14178 f2c729b81c6a
--- a/jdk/test/java/lang/ProcessBuilder/Basic.java	Mon Aug 20 07:59:26 2012 +0800
+++ b/jdk/test/java/lang/ProcessBuilder/Basic.java	Mon Aug 20 14:52:12 2012 +0100
@@ -2228,12 +2228,7 @@
 
             p.destroy();
 
-            start = System.nanoTime();
             p.waitFor(1000, TimeUnit.MILLISECONDS);
-            end = System.nanoTime();
-            // allow for the less accurate default implementation
-            if ((end - start) > 200000000)
-                fail("Test failed: waitFor took too long on a dead process.");
         } catch (Throwable t) { unexpected(t); }
     }