MartijnVisser opened a new pull request, #29541:
URL: https://github.com/apache/flink/pull/29541

   Unchanged backport of https://github.com/apache/flink/pull/29533 
(f2aa53456cb).
   
   `runTest` queues `close()` and returns without waiting for it, so `afterAll` 
can shut the executor down while the last test's requirements check is still 
running. The rejected `handleAsync` in `DefaultSlotStatusSyncer#allocateSlot` 
then ends the surefire fork with exit code 239. Last seen on this branch in 
https://github.com/apache/flink/actions/runs/39356761323/job/118435756201 
(nightly 2026-10-20, `AdaptiveScheduler / Test (module: core)`).
   
   With a `requestSlot` that blocks until the executor is shut down, this 
branch crashed in 10 of 10 JVMs before the change and in 0 of 30 class runs 
with the `runTest` wait. The slot manager tests pass with this change.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: Claude Code (Claude Opus 5.5, Claude Fable 5.1)
   


-- 
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]

Reply via email to