Skip to content

Commit

Permalink
Fix for SparkContext stop behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
rekhajoshm committed Jun 26, 2015
1 parent 72bb484 commit 12f66b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/test/scala/org/apache/spark/SparkContextSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import org.apache.spark.util.Utils

import scala.concurrent.Await
import scala.concurrent.duration.Duration
import scala.util.control.NonFatal

class SparkContextSuite extends SparkFunSuite with LocalSparkContext {

Expand Down Expand Up @@ -284,7 +283,7 @@ class SparkContextSuite extends SparkFunSuite with LocalSparkContext {
sc.stop()
} catch {
case e: Exception =>
fail("calling multiple sc.stop() must not have thrown any exception");
fail("calling multiple sc.stop() must not throw any exception", e);
}
}
}

0 comments on commit 12f66b5

Please sign in to comment.