Integrated: 8255277: randomDelay in DrainDeadlockT and LoggingDeadlock do not randomly delay
Daniel Fuchs
dfuchs at openjdk.java.net
Thu Nov 26 14:53:55 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
This pull request has now been integrated.
Changeset: a93841ac
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/a93841ac
Stats: 17 lines in 2 files changed: 13 ins; 0 del; 4 mod
8255277: randomDelay in DrainDeadlockT and LoggingDeadlock do not randomly delay
Reviewed-by: lancea
-------------
PR: https://git.openjdk.java.net/jdk/pull/1441
More information about the core-libs-dev
mailing list