6736316: Timeout value in java/util/concurrent/locks/Lock/FlakyMutex.java is insufficient
Reviewed-by: chegar, dholmes, alanb
This commit is contained in:
parent
5070eb57b6
commit
ba9ddb94fa
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user