GitHub user mgaido91 opened a pull request: https://github.com/apache/spark/pull/22023
[SPARK-23928][TESTS][FOLLOWUP] Set seed to avoid flakiness ## What changes were proposed in this pull request? The tests for shuffle can be flaky (eg. https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/94355/testReport/). This happens because we have not set the seed for `Random`. ## How was this patch tested? running 10000 times the UT (validated that with a different seed eg. 12345 the test fails). You can merge this pull request into a Git repository by running: $ git pull https://github.com/mgaido91/spark SPARK-23928_followup Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22023.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22023 ---- commit b1713d8918c205e325e40ca4eb28eb08909a91f3 Author: Marco Gaido <marcogaido91@...> Date: 2018-08-07T10:24:09Z [SPARK-23928][TESTS][FOLLOWUP] Set seed to avoid flakiness ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org