Skip to content

Commit

Permalink
add comment summarizing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
squito committed Aug 25, 2015
1 parent 920fcca commit 52545d8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,12 @@ class DAGSchedulerSuite
assertDataStructuresEmpty()
}

/**
* This test runs a three stage job, with a fetch failure in stage 1. but during the retry, we
* have completions from both the first & second attempt of stage 1. So all the map output is
* available before we finish any task set for stage 1. We want to make sure that we don't
* submit stage 2 until the map output for stage 1 is registered
*/
test("don't submit stage until its dependencies map outputs are registered (SPARK-5259)") {
val firstRDD = new MyRDD(sc, 3, Nil)
val firstShuffleDep = new ShuffleDependency(firstRDD, null)
Expand Down

0 comments on commit 52545d8

Please sign in to comment.