zsxwing commented on a change in pull request #24328: [SPARK-27394][WEBUI]
Flush LiveEntity if necessary when receiving SparkListenerExecutorMetricsUpdate
(backport 2.4)
URL: https://github.com/apache/spark/pull/24328#discussion_r273626820
##########
File path: core/src/test/scala/org/apache/spark/ui/UISeleniumSuite.scala
##########
@@ -724,6 +728,31 @@ class UISeleniumSuite extends SparkFunSuite with
WebBrowser with Matchers with B
}
}
+ test("Staleness of Spark UI should not last minutes or hours") {
+ withSpark(newSparkContext(
+ master = "local[2]",
+ // Set a small heart beat interval to make the test fast
+ additionalConfs = Map(
+ "spark.executor.heartbeatInterval" -> "1s",
Review comment:
set this to 1 second due to https://issues.apache.org/jira/browse/SPARK-27419
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]