RFR 8021883 j.u.Random/RandomStream.java test needs more robust timeout duration
chris.hegarty at oracle.com
Tue Jul 30 15:57:23 UTC 2013
This looks like a nice cleanup, as well as fixing the timeout issue.
I just don't get the change in failure criteria. The old test used to
verify that the arrays of random numbers of all generating threads were
not equal, but now your checking the number of tasks?
> This patch updates tests for ThreadLocalRandom streams and increases the timeout duration. Although the original should be enough for most cases in certain virtualized and emulated environments it might not be. I also took the liberty of consolidating the code and sprinkling stream and CompletableFuture dust on things.
More information about the core-libs-dev