changeset 6226:1ce6a6a06398

7105929: java/util/concurrent/FutureTask/BlockingTaskExecutor.java fails on solaris sparc Reviewed-by: dholmes
author chegar
date Wed, 08 Feb 2012 11:16:52 +0000
parents 3092790deb93
children f6598a50f748
files test/java/util/concurrent/FutureTask/BlockingTaskExecutor.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/concurrent/FutureTask/BlockingTaskExecutor.java	Tue Aug 09 16:59:44 2011 +0100
+++ b/test/java/util/concurrent/FutureTask/BlockingTaskExecutor.java	Wed Feb 08 11:16:52 2012 +0000
@@ -75,10 +75,10 @@
             throw new Error("Executor stuck");
 
         // Wait for the invocation thread to complete.
-        thread.join(1000);
+        thread.join(5000);
         if (thread.isAlive()) {
             thread.interrupt();
-            thread.join(1000);
+            thread.join(5000);
             throw new Error("invokeAll stuck");
         }
     }