Description
We hit this in our internal builds.
Expected exception org.apache.spark.SparkException to be thrown, but no exception was thrown Stacktrace org.scalatest.exceptions.TestFailedException: Expected exception org.apache.spark.SparkException to be thrown, but no exception was thrown at org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:528) at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560) at org.scalatest.Assertions$class.intercept(Assertions.scala:822) at org.scalatest.FunSuite.intercept(FunSuite.scala:1560) at org.apache.spark.scheduler.BarrierTaskContextSuite$$anonfun$7.apply(BarrierTaskContextSuite.scala:94) at org.apache.spark.scheduler.BarrierTaskContextSuite$$anonfun$7.apply(BarrierTaskContextSuite.scala:76) at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
The problem from the logs is that the first task to call barrier() took a while, and at that point the "slow" task was already running, so the sleep finishes before the 2s timeout runs out.
Attachments
Issue Links
- links to