GitHub user heary-cao opened a pull request: https://github.com/apache/spark/pull/20582
[MINOR][TEST]`spark.testing` No effect on the SparkFunSuite unit test ## What changes were proposed in this pull request? Currently, we use SBT and MAVN to spark unit test, are affected by the parameters of `spark.testing`. However, when using the IDE test tool, `spark.testing` support is not very good, sometimes need to be manually added to the beforeEach. example: HiveSparkSubmitSuite RPackageUtilsSuite SparkSubmitSuite. The PR unified `spark.testing` parameter extraction to SparkFunSuite, support IDE test tool, and the test code is more compact. ## How was this patch tested? the existed test cases. You can merge this pull request into a Git repository by running: $ git pull https://github.com/heary-cao/spark sparktesting Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20582.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 #20582 ---- commit 512792d27a03bd1ca79916d7a8d69ac3f9182626 Author: caoxuewen <cao.xuewen@...> Date: 2018-02-12T01:51:51Z fix ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org