File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/test/scala/org/apache/spark/ui Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import org.apache.spark._
3939import org .apache .spark .LocalSparkContext ._
4040import org .apache .spark .api .java .StorageLevels
4141import org .apache .spark .deploy .history .HistoryServerSuite
42- import org .apache .spark .internal .config .MEMORY_OFFHEAP_SIZE
42+ import org .apache .spark .internal .config .{ EXECUTOR_HEARTBEAT_INTERVAL , MEMORY_OFFHEAP_SIZE }
4343import org .apache .spark .shuffle .FetchFailedException
4444import org .apache .spark .status .api .v1 .{JacksonMessageWriter , RDDDataDistribution , StageStatus }
4545import org .apache .spark .status .config ._
@@ -733,7 +733,7 @@ class UISeleniumSuite extends SparkFunSuite with WebBrowser with Matchers with B
733733 master = " local[2]" ,
734734 // Set a small heart beat interval to make the test fast
735735 additionalConfs = Map (
736- " spark.executor.heartbeatInterval " -> " 1s " ,
736+ EXECUTOR_HEARTBEAT_INTERVAL .key -> " 10ms " ,
737737 LIVE_ENTITY_UPDATE_MIN_FLUSH_PERIOD .key -> " 10ms" ))) { sc =>
738738 sc.setLocalProperty(SparkContext .SPARK_JOB_INTERRUPT_ON_CANCEL , " true" )
739739 val f = sc.parallelize(1 to 1000 , 1000 ).foreachAsync { _ =>
You can’t perform that action at this time.
0 commit comments