changeset 9887:82a4137fce5e

8030166: java/lang/ProcessBuilder/Basic.java fails intermittently: waitFor took too long Reviewed-by: rriggs
author robm
date Fri, 01 Aug 2014 15:34:55 +0100
parents ab05318e0d74
children 9008b3812789
files test/java/lang/ProcessBuilder/Basic.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/ProcessBuilder/Basic.java	Wed Aug 06 15:30:04 2014 +0400
+++ b/test/java/lang/ProcessBuilder/Basic.java	Fri Aug 01 15:34:55 2014 +0100
@@ -2246,9 +2246,9 @@
                 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();