holdenk opened a new pull request #28614:
URL: https://github.com/apache/spark/pull/28614

   ### What changes were proposed in this pull request?
   Increase the timeout and register the listener earlier to avoid any race 
condition of the job starting before the listener is registered.
   ### Why are the changes needed?
   The test is currently semi-flaky.
   ### Does this PR introduce _any_ user-facing change?
   ### How was this patch tested?
   I'm currently running the following bash script on my dev machine to verify 
the flakiness decreases. It has gotten to 356 iterations without any test 
failures so I believe issue is fixed.
   set -ex
   ./build/sbt clean compile package
   for (( i=0;i<1000;++i )); do
     echo "Run $i"
     ./build/sbt "core/testOnly 
org.apache.spark.scheduler.WorkerDecommissionSuite" || ((failed=1))
     echo "Resulted in $failed"
     echo "Current status is failures: $failures out of $i runs"

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to