6736316: Timeout value in java/util/concurrent/locks/Lock/FlakyMutex.java is insufficient
authorgadams
Wed, 08 Feb 2012 11:18:29 +0000
changeset 11831 d9aed944f13c
parent 11830 c92191a9447c
child 11832 c0b541c9cc2b
6736316: Timeout value in java/util/concurrent/locks/Lock/FlakyMutex.java is insufficient Reviewed-by: chegar, dholmes, alanb
jdk/test/java/util/concurrent/locks/Lock/FlakyMutex.java
--- a/jdk/test/java/util/concurrent/locks/Lock/FlakyMutex.java	Wed Feb 08 11:16:52 2012 +0000
+++ b/jdk/test/java/util/concurrent/locks/Lock/FlakyMutex.java	Wed Feb 08 11:18:29 2012 +0000
@@ -86,7 +86,7 @@
                 } catch (Throwable t) { unexpected(t); }}});}
         barrier.await();
         es.shutdown();
-        check(es.awaitTermination(10, TimeUnit.SECONDS));
+        check(es.awaitTermination(30, TimeUnit.SECONDS));
     }
 
     private static class FlakySync extends AbstractQueuedLongSynchronizer {