提交 eac4d108 编写于 作者: G gadams

6736316: Timeout value in java/util/concurrent/locks/Lock/FlakyMutex.java is insufficient

Reviewed-by: chegar, dholmes, alanb
上级 27268cdb
......@@ -86,7 +86,7 @@ public class FlakyMutex implements Lock {
} 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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册