OpenSearch/qa
Jason Tedor 3383c24be0 Remove and forbid use of Collections#shuffle(List) and Random#<init>()
This commit removes and now forbids all uses of
Collections#shuffle(List) and Random#<init>() across the codebase. The
rationale for removing and forbidding these methods is to increase test
reproducibility. As these methods use non-reproducible seeds, production
code and tests that rely on these methods contribute to
non-reproducbility of tests.

Instead of Collections#shuffle(List) the method
Collections#shuffle(List, Random) can be used. All that is required then
is a reproducible source of randomness. Consequently, the utility class
Randomness has been added to assist in creating reproducible sources of
randomness.

Instead of Random#<init>(), Random#<init>(long) with a reproducible seed
or the aforementioned Randomess class can be used.

Closes #15287
2015-12-11 11:16:38 -05:00
..
evil-tests Remove and forbid use of Collections#shuffle(List) and Random#<init>() 2015-12-11 11:16:38 -05:00
smoke-test-client Build: Remove maven pom files and supporting ant files 2015-10-29 23:53:49 -07:00
smoke-test-multinode Build: Get multi node smoke tests working 2015-11-22 14:49:05 -08:00
smoke-test-plugins Build: Remove duplicate runs of packaged rest tests 2015-12-04 13:43:40 -08:00
vagrant Added a new scripting language (PlanA). 2015-12-09 16:32:37 -08:00