Skip to content

Commit

Permalink
[SPARK-10454] [SPARK CORE] wait for empty event queue
Browse files Browse the repository at this point in the history
Author: robbins <robbins@uk.ibm.com>

Closes #8605 from robbinspg/DAGSchedulerSuite-fix.
  • Loading branch information
robbins authored and Andrew Or committed Sep 4, 2015
1 parent b087d23 commit 2e1c175
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ class DAGSchedulerSuite
}

// The map stage should have been submitted.
sc.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS)
assert(countSubmittedMapStageAttempts() === 1)

complete(taskSets(0), Seq(
Expand Down

0 comments on commit 2e1c175

Please sign in to comment.