Skip to content

Commit f64e01b

Browse files
robbinsMarcelo Vanzin
authored andcommitted
[SPARK-10454] [SPARK CORE] wait for empty event queue
Author: robbins <[email protected]> Closes apache#8605 from robbinspg/DAGSchedulerSuite-fix. (cherry picked from commit 2e1c175) Signed-off-by: Andrew Or <[email protected]> (cherry picked from commit 09e08db)
1 parent 8603ce9 commit f64e01b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ class DAGSchedulerSuite
803803
}
804804

805805
// The map stage should have been submitted.
806+
sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS)
806807
assert(countSubmittedMapStageAttempts() === 1)
807808

808809
complete(taskSets(0), Seq(

0 commit comments

Comments
 (0)