RFR: 8255277: randomDelay in DrainDeadlockT and LoggingDeadlock do not randomly delay

Lance Andersen lancea at openjdk.java.net
Wed Nov 25 20:38:57 UTC 2020


On Wed, 25 Nov 2020 20:13:48 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Hi,
> 
> Please find here an almost trivial fix for:
> 8255277: randomDelay in DrainDeadlockT and LoggingDeadlock do not randomly delay
> 
> The two tests are changed from using Math.random() to using the jdk test lib RandomFactory, which prints its seed in the log file and allows for better reproducibility in case of failures.
> 
> best regards,
> 
> -- daniel

looks good

-------------

Marked as reviewed by lancea (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1441


More information about the core-libs-dev mailing list