Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/19981#discussion_r157397655
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/ui/SQLAppStatusListenerSuite.scala
---
@@ -489,16 +501,17 @@ private case class MyPlan(sc: SparkContext,
expectedValue: Long) extends LeafExe
}
-class SQLListenerMemoryLeakSuite extends SparkFunSuite {
+class SQLAppStatusListenerMemoryLeakSuite extends SparkFunSuite {
- // TODO: this feature is not yet available in SQLAppStatusStore.
- ignore("no memory leak") {
+ test("no memory leak") {
quietly {
val conf = new SparkConf()
.setMaster("local")
.setAppName("test")
+ .set(LIVE_ENTITY_UPDATE_PERIOD, 0L) // Update the UI data
immediately
.set(config.MAX_TASK_FAILURES, 1) // Don't retry the tasks to run
this test quickly
- .set("spark.sql.ui.retainedExecutions", "50") // Set it to 50 to
run this test quickly
+ // TODO: this feature is not yet available in SQLAppStatusStore.
+ // .set("spark.sql.ui.retainedExecutions", "50") // Set it to 50
to run this test quickly
--- End diff --
ok let me revert this part
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]