hvanhovell opened a new pull request, #42406: URL: https://github.com/apache/spark/pull/42406
### What changes were proposed in this pull request? This PR tries to fix flakiness in the `SparkSessionSuite.active session in multiple threads` test. There was a chance that modification could happen before the other thread could check the state. This PR decouples modifcations from checks. ### Why are the changes needed? Flaky tests are no bueno. ### Does this PR introduce _any_ user-facing change? Yes. ### How was this patch tested? It is a test. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
