holdenk opened a new pull request #25765: 
[SPARK-28937][SPARK-28936][KUBERNETES] Reduce test flakyness
URL: https://github.com/apache/spark/pull/25765
 
 
   ### What changes were proposed in this pull request?
   
   Switch from using a Thread sleep for waiting for commands to finish to just 
waiting for the command to finish with a watcher & improve the error messages 
in the SecretsTestsSuite.
   
   ### Why are the changes needed?
   Currently some of the Spark Kubernetes tests have race conditions with 
command execution, and the frequent use of eventually makes debugging test 
failures difficult.
   
   ### Does this PR introduce any user-facing change?
   
   No
   
   ### How was this patch tested?
   
   Existing tests pass after removal of thread.sleep

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to