6736316: Timeout value in java/util/concurrent/locks/Lock/FlakyMutex.java is insufficient
Reviewed-by: chegar, dholmes, alanb
--- 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 {