Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/20516#discussion_r167156814
--- Diff: core/src/test/scala/org/apache/spark/SparkFunSuite.scala ---
@@ -59,6 +59,7 @@ abstract class SparkFunSuite
protected val enableAutoThreadAudit = true
protected override def beforeAll(): Unit = {
+ System.setProperty("spark.testing", "true")
--- End diff --
Sorry let me make the question more clear.
Why we need this if `./project/SparkBuild.scala:795: javaOptions in Test +=
"-Dspark.testing=1"` works?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]