changeset 5019:c64c815974ff

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 085c4f780d4e
children 7289599216fe
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	Wed Feb 08 11:44:36 2012 +0800
+++ 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");
         }
     }