Skip to content

Commit 2b3fb52

Browse files
committed
fix test
1 parent f8351e2 commit 2b3fb52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3378,7 +3378,7 @@ class DAGSchedulerSuite extends SparkFunSuite with TempLocalSparkContext with Ti
33783378
// As the ShuffleMapStage is inDeterminate all the partitions need to be retried
33793379
assert(failedStages.collect {
33803380
case stage: ShuffleMapStage if stage.shuffleDep.shuffleId == shuffleId2 => stage
3381-
}.head.findMissingPartitions() == Seq(0, 1))
3381+
}.head.findMissingPartitions() == Seq(0))
33823382
// The result stage is still waiting for its 2 tasks to complete
33833383
assert(failedStages.collect {
33843384
case stage: ResultStage => stage
@@ -4350,7 +4350,7 @@ class DAGSchedulerSuite extends SparkFunSuite with TempLocalSparkContext with Ti
43504350
// As the ShuffleMapStage is inDeterminate all the partitions need to be retried
43514351
assert(failedStages.collect {
43524352
case stage: ShuffleMapStage if stage.shuffleDep.shuffleId == shuffleId2 => stage
4353-
}.head.findMissingPartitions() == Seq(0, 1))
4353+
}.head.findMissingPartitions() == Seq(0))
43544354
// The result stage is still waiting for its 2 tasks to complete
43554355
assert(failedStages.collect {
43564356
case stage: ResultStage => stage

0 commit comments

Comments
 (0)