Skip to content

Commit 09e08db

Browse files
robbinsAndrew Or
authored andcommitted
[SPARK-10454] [SPARK CORE] wait for empty event queue
Author: robbins <robbins@uk.ibm.com> Closes #8605 from robbinspg/DAGSchedulerSuite-fix. (cherry picked from commit 2e1c175) Signed-off-by: Andrew Or <andrew@databricks.com>
1 parent 4d63335 commit 09e08db

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
@@ -527,6 +527,7 @@ class DAGSchedulerSuite
527527
}
528528

529529
// The map stage should have been submitted.
530+
sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS)
530531
assert(countSubmittedMapStageAttempts() === 1)
531532

532533
complete(taskSets(0), Seq(

0 commit comments

Comments
 (0)