ajithme commented on a change in pull request #27115: [SPARK-30440] Flaky test: org.apache.spark.scheduler.TaskSetManagerSuite URL: https://github.com/apache/spark/pull/27115#discussion_r363816675
########## File path: core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala ########## @@ -1928,9 +1928,15 @@ class TaskSetManagerSuite // get the TaskSetManager val manager = sched.invokePrivate(taskSetManagers()).get(stageId).get(stageAttemptId) - val task0 = manager.resourceOffer(exec0, "localhost", TaskLocality.NO_PREF) - val task1 = manager.resourceOffer(exec1, "localhost", TaskLocality.NO_PREF) - assert(task0.isDefined && task1.isDefined) + var task0 : Option[TaskInfo] = None Review comment: Done ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org