Github user mridulm commented on a diff in the pull request:
https://github.com/apache/spark/pull/17166#discussion_r107235395
--- Diff: core/src/test/scala/org/apache/spark/SparkContextSuite.scala ---
@@ -569,8 +575,10 @@ class SparkContextSuite extends SparkFunSuite with
LocalSparkContext with Eventu
Thread.sleep(9999999)
}
// second attempt succeeds immediately
+ SparkContextSuite.taskSucceeded = true
}
}
+ assert(SparkContextSuite.taskSucceeded)
--- End diff --
Both listener and the task are both setting taskSuceeded ? That does not
look right ...
I am assuming we need one failure to be raised with the appropriate
message, one task success - to ensure listener success.
Additionally, re-execution of task to indicate success of task (though this
aspect should be covered in some other test already).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]