Skip to content

Commit

Permalink
remove space
Browse files Browse the repository at this point in the history
  • Loading branch information
shahidki31 committed Nov 16, 2018
1 parent 5b13b77 commit 6e1d2fa
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -1276,16 +1276,13 @@ class AppStatusListenerSuite extends SparkFunSuite with BeforeAndAfter {
}

test("SPARK-25451: total tasks in the executor summary should match total stage tasks") {

val testConf = conf.clone()
.set("spark.ui.liveUpdate.period", s"${Int.MaxValue}s")

val listener = new AppStatusListener(store, testConf, true)

val stage = new StageInfo(1, 0, "stage1", 4, Nil, Nil, "details1")

val stage = new StageInfo(1, 0, "stage", 4, Nil, Nil, "details")
listener.onJobStart(SparkListenerJobStart(1, time, Seq(stage), null))

listener.onStageSubmitted(SparkListenerStageSubmitted(stage, new Properties()))

val tasks = createTasks(4, Array("1", "2"))
Expand Down Expand Up @@ -1316,7 +1313,6 @@ class AppStatusListenerSuite extends SparkFunSuite with BeforeAndAfter {
}

val esummary = store.view(classOf[ExecutorStageSummaryWrapper]).asScala.map(_.info)

esummary.foreach {
execSummary => assert(execSummary.failedTasks == 2)
}
Expand Down

0 comments on commit 6e1d2fa

Please sign in to comment.