Skip to content

Commit 168fd46

Browse files
committed
review feedback
1 parent 707307f commit 168fd46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/org/apache/spark/scheduler/TaskSchedulerImplSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ class TaskSchedulerImplSuite extends SparkFunSuite with LocalSparkContext with B
977977
assert(
978978
taskScheduler.resourceOffers(IndexedSeq(WorkerOffer("exec-1", "host-1", 1))).flatten.isEmpty)
979979

980-
val remainingTasks = (0 until 10).toSet.diff(finalAttemptPendingPartitions).toIndexedSeq.sorted
980+
val remainingTasks = finalAttemptLaunchedPartitions.toIndexedSeq.sorted
981981

982982
// finally, if we finish the remaining partitions from a mix of tasksets, all attempts should be
983983
// marked as zombie.

0 commit comments

Comments
 (0)