From c6ee31934e6255fa184c6ff0af47fda69420a6f0 Mon Sep 17 00:00:00 2001 From: robm Date: Fri, 1 Aug 2014 15:34:55 +0100 Subject: [PATCH] 8030166: java/lang/ProcessBuilder/Basic.java fails intermittently: waitFor took too long Reviewed-by: rriggs --- test/java/lang/ProcessBuilder/Basic.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/java/lang/ProcessBuilder/Basic.java b/test/java/lang/ProcessBuilder/Basic.java index 3aa96a903..b86509df1 100644 --- a/test/java/lang/ProcessBuilder/Basic.java +++ b/test/java/lang/ProcessBuilder/Basic.java @@ -2246,9 +2246,9 @@ public class Basic { fail("Test failed: Process exited prematurely"); } long end = System.nanoTime(); - // give waitFor(timeout) a wide berth (100ms) + // give waitFor(timeout) a wide berth (200ms) // Old AIX machines my need a little longer. - if ((end - start) > 100000000L * (AIX.is() ? 4 : 1)) + if ((end - start) > 200000000L * (AIX.is() ? 2 : 1)) fail("Test failed: waitFor took too long (" + (end - start) + "ns)"); p.destroy(); -- GitLab