pan3793 commented on code in PR #51437:
URL: https://github.com/apache/spark/pull/51437#discussion_r2203386551
##########
core/src/test/scala/org/apache/spark/ExecutorAllocationManagerSuite.scala:
##########
@@ -1780,6 +1781,83 @@ class ExecutorAllocationManagerSuite extends
SparkFunSuite {
assert(numExecutorsTargetForDefaultProfileId(manager) === 1)
}
+ test("SPARK-52752: test handling delayed task events") {
+ val conf = createConf(0, 1, 1)
+ .set(config.DYN_ALLOCATION_TESTING, false)
+ .set("spark.resultGetter.threads", "1")
+ .set(config.EXECUTOR_CORES, 1)
+ .set(config.TASK_MAX_DIRECT_RESULT_SIZE.key, "1B")
+ .set(config.SHUFFLE_SERVICE_ENABLED, false)
+ .set(config.DYN_ALLOCATION_SHUFFLE_TRACKING_ENABLED, true)
+ .set(TEST_DYNAMIC_ALLOCATION_SCHEDULE_ENABLED, true)
+ .setMaster("local-cluster[1,1,1024]")
+ .setAppName(getClass().getName())
+ val sc = new SparkContext(conf)
+ try {
+ def blockGetResultThreads(sleppMS: Long): Unit = {
Review Comment:
nit: typo
```suggestion
def blockGetResultThreads(sleepMs: Long): Unit = {
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]