We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72bb484 commit 12f66b5Copy full SHA for 12f66b5
core/src/test/scala/org/apache/spark/SparkContextSuite.scala
@@ -30,7 +30,6 @@ import org.apache.spark.util.Utils
30
31
import scala.concurrent.Await
32
import scala.concurrent.duration.Duration
33
-import scala.util.control.NonFatal
34
35
class SparkContextSuite extends SparkFunSuite with LocalSparkContext {
36
@@ -284,7 +283,7 @@ class SparkContextSuite extends SparkFunSuite with LocalSparkContext {
284
283
sc.stop()
285
} catch {
286
case e: Exception =>
287
- fail("calling multiple sc.stop() must not have thrown any exception");
+ fail("calling multiple sc.stop() must not throw any exception", e);
288
}
289
290
0 commit comments