RFR: 8315317: Add test for JDK-8262518

Kevin Rushforth kcr at openjdk.org
Fri Sep 1 15:01:49 UTC 2023


On Fri, 1 Sep 2023 14:45:05 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> No, let's not. While there may be some rare cases where randomness adds something useful to the test, automated tests should be predictable.
>
> they become predictable when the seed is known.

Yes, but then you would need to modify the test to rerun it with the same seed as the time it failed. If we had a utility that made this easy, then maybe, but I'd still be skeptical. I am not convinced that whatever benefit we might get is worth the effort or the unpredictability.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1228#discussion_r1313149894


More information about the openjfx-dev mailing list