HeartSaVioR commented on a change in pull request #25706: 
[SPARK-26989][CORE][TEST] DAGSchedulerSuite: ensure listeners are fully 
processed before checking recorded values
URL: https://github.com/apache/spark/pull/25706#discussion_r321932126
 
 

 ##########
 File path: 
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
 ##########
 @@ -1141,7 +1169,7 @@ class DAGSchedulerSuite extends SparkFunSuite with 
LocalSparkContext with TimeLi
       taskSets(0).tasks(1),
       TaskKilled("test"),
       null))
-    assert(failedStages === Seq(0))
+    assert(sparkListener.failedStages === Seq(0))
 
 Review comment:
   There're some other places accessing failedStages without waiting. Search 
with `assert(failedStages === Seq(0))`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to