changeset 5020:7289599216fe

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 c64c815974ff
children 72d8f91514d1
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	Wed Feb 08 11:16:52 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 {