Skip to content

Commit

Permalink
Update TaskSetManagerSuite.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
nishkamravi2 committed Nov 19, 2014
1 parent 535295a commit 5c9a4cb
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -579,13 +579,13 @@ class TaskSetManagerSuite extends FunSuite with LocalSparkContext with Logging {

// single 10M result
val thrown = intercept[SparkException] {sc.makeRDD(genBytes(10 << 20)(0), 1).collect()}
assert(thrown.getMessage().contains("bigger than configurable parameter spark.driver.maxResultSize"))
assert(thrown.getMessage().contains("bigger than spark.driver.maxResultSize"))

// multiple 1M results
val thrown2 = intercept[SparkException] {
sc.makeRDD(0 until 10, 10).map(genBytes(1 << 20)).collect()
}
assert(thrown2.getMessage().contains("bigger than configurable parameter spark.driver.maxResultSize"))
assert(thrown2.getMessage().contains("bigger than spark.driver.maxResultSize"))
}

test("speculative and noPref task should be scheduled after node-local") {
Expand Down

0 comments on commit 5c9a4cb

Please sign in to comment.