elasticsearch/elasticsearch — pull request #8250 by s1monw (2014-10-28 11:00:55+00:00)
Title: [TEST] initialize SUITE | GLOBAL scope cluster in a private random context

Today any call to the current randomized context modifies the random
sequence such that cluster initialization is context dependent. If due
to an error for instance a static util method is used like `randomLong`
inside the TestCluster instead of the provided Random instance all
reproducibility guarantees are gone. This commit adds a safe mechanism
to initialize these clusters even if a static helper is used. All none
test scope clusters are now initialized in a private randomized context.