Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19893#discussion_r159954589
  
    --- Diff: core/src/test/scala/org/apache/spark/SparkFunSuite.scala ---
    @@ -27,19 +27,55 @@ import org.apache.spark.util.AccumulatorContext
     
     /**
      * Base abstract class for all unit tests in Spark for handling common 
functionality.
    + *
    + * Thread audit happens normally here automatically when a new test suite 
created.
    + * The only prerequisite for that is that the test class must extend 
[[SparkFunSuite]].
    + *
    + * There are some test suites which are doing initialization before 
[[SparkFunSuite#beforeAll]]
    + * executed. This case auditing can be moved into another place in the 
call sequence.
    + *
    + * To do the audit in a custom place/way the following can be done:
    + *
    + * class MyTestSuite extends SparkFunSuite {
    + *
    + *   override val doThreadAuditInSparkFunSuite = false
    --- End diff --
    
    `enableAutoThreadAudit` now


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to