beliefer opened a new pull request #29228: URL: https://github.com/apache/spark/pull/29228
### What changes were proposed in this pull request? `DAGSchedulerSuite` exists some issue: `afterEach` and init are called when the `SparkConf` of the default `SparkContext` has no configuration that the test case must set. This causes the `SparkContext` initialized in `beforeEach` to be discarded without being used, resulting in waste. On the other hand, the flexibility to add configurations to `SparkConf` should be addressed by the test framework. ### Why are the changes needed? Reduce overhead about init `SparkContext`. Rewrite the test framework to support apply specified spark configurations. ### Does this PR introduce _any_ user-facing change? 'No'. ### How was this patch tested? Jenkins 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
