We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59c2807 commit 74911b7Copy full SHA for 74911b7
1 file changed
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
@@ -1883,9 +1883,7 @@ class DAGSchedulerSuite extends SparkFunSuite with LocalSparkContext with TimeLi
1883
val accumUpdates2 = Seq(accUpdate3)
1884
val accumInfo2 = accumUpdates2.map(AccumulatorSuite.makeInfo)
1885
1886
- val taskKilled = new TaskKilled(
1887
- "test",
1888
- accumInfo2).copy(accums = accumUpdates2)
+ val taskKilled = new TaskKilled( "test", accumInfo2, accums = accumUpdates2)
1889
runEvent(makeCompletionEvent(taskSets.head.tasks.head, taskKilled, "result"))
1890
1891
assert(AccumulatorContext.get(acc3.id).get.value === 18L)
0 commit comments