Code Review - 6736316 TEST_BUG: Timeout value in java/util/concurrent/locks/Lock/FlakyMutex.java is insufficient
Alan Bateman
Alan.Bateman at oracle.com
Mon Nov 21 20:02:16 UTC 2011
On 21/11/2011 19:26, Gary Adams wrote:
> The original complaint about the flakey mutex regression test is
> that it was failing on slower machines. The delay at the end of
> the processing is unnecessarily restrictive. Since the test harness
> will terminate after 120 seconds if the test hangs, the test does
> not have to terminate more quickly.
>
> Here's a propose compromise that allows the service up to 120 seconds
> to terminate and allows an early exit if the service completes sooner.
> Alternatively, we could just increase the timeout to the full 120 seconds
> which will also exit sooner if the service completes earlier.
>
> http://cr.openjdk.java.net/~gadams/6736316/
>
Would it be simpler to just await forever?
-Alan.
More information about the core-libs-dev
mailing list