Skip to content

Commit 2e1c175

Browse files
robbinsAndrew Or
authored andcommitted
[SPARK-10454] [SPARK CORE] wait for empty event queue
Author: robbins <[email protected]> Closes apache#8605 from robbinspg/DAGSchedulerSuite-fix.
1 parent b087d23 commit 2e1c175

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ class DAGSchedulerSuite
812812
}
813813

814814
// The map stage should have been submitted.
815+
sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS)
815816
assert(countSubmittedMapStageAttempts() === 1)
816817

817818
complete(taskSets(0), Seq(

0 commit comments

Comments
 (0)