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 7056cd6 commit 1f7bd88Copy full SHA for 1f7bd88
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
@@ -2149,7 +2149,12 @@ class DAGSchedulerSuite extends SparkFunSuite with LocalSparkContext with Timeou
2149
logInfo("expected abort stage2: " + e.getMessage)
2150
}
2151
2152
- ThreadUtils.awaitResult(f2, duration)
+ try {
2153
+ ThreadUtils.awaitResult(f2, duration)
2154
+ } catch {
2155
+ case e: Throwable => fail("The failed stage never resubmitted")
2156
+ }
2157
+ executorContext.shutdown()
2158
2159
2160
/**
0 commit comments