Github user heary-cao commented on a diff in the pull request: https://github.com/apache/spark/pull/20516#discussion_r167158512 --- 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 -- My debugging tool is IDEA, I think IDE had no relevance to the process of setting. Be similar to HiveSparkSubmitSuite RPackageUtilsSuite SparkSubmitSuite. There are also manually add System.setProperty("spark.testing", "true"). Of courseï¼ I try with mavn(using command line) to test case , it is right. thanks.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org