changeset 15972:88ec80d47d4a

8168517: java/lang/ProcessBuilder/Basic.java failed Reviewed-by: dholmes
author rriggs
date Mon, 31 Oct 2016 13:57:28 -0400
parents 608dcced40aa
children 4891c03305cc
files test/java/lang/ProcessBuilder/Basic.java
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/ProcessBuilder/Basic.java	Mon Oct 31 10:34:31 2016 -0700
+++ b/test/java/lang/ProcessBuilder/Basic.java	Mon Oct 31 13:57:28 2016 -0400
@@ -2404,16 +2404,6 @@
                 fail("Test failed: waitFor didn't take long enough (" + (end - start) + "ns)");
 
             p.destroy();
-
-            start = System.nanoTime();
-            p.waitFor(8, TimeUnit.SECONDS);
-            end = System.nanoTime();
-
-            int exitValue = p.exitValue();
-
-            if ((end - start) > TimeUnit.SECONDS.toNanos(7))
-                fail("Test failed: waitFor took too long on a dead process. (" + (end - start) + "ns)"
-                + ", exitValue: " + exitValue);
         } catch (Throwable t) { unexpected(t); }
 
         //----------------------------------------------------------------