changeset 5705:2ba7716915ab

6736316: Timeout value in java/util/concurrent/locks/Lock/FlakyMutex.java is insufficient Reviewed-by: chegar, dholmes, alanb
author gadams
date Wed, 08 Feb 2012 11:18:29 +0000
parents 9c30829b6aa5
children 9272222ac3a5
files test/java/util/concurrent/locks/Lock/FlakyMutex.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/concurrent/locks/Lock/FlakyMutex.java	Tue Nov 06 21:01:43 2012 +0000
+++ b/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 {