spuru9 opened a new pull request, #29941:
URL: https://github.com/apache/flink/pull/29941
## What is the purpose of the change
Kubernetes tests fail intermittently in
`MixedKubernetesServerExtension#afterEach` with `RejectedExecutionException:
event executor terminated`. Fabric8's `MockWebServer#shutdown()` races its own
Vert.x close (fabric8io/kubernetes-client#7747, fixed in 7.7.0, we're on
7.3.1). The upgrade is blocked on FLINK-40728, so this tolerates the exception
on teardown for now.
## Brief change log
- Ignore `RejectedExecutionException` from `mock.destroy()` in
`MixedKubernetesServerExtension#afterEach`, so the teardown no longer fails the
test and still closes the clients
## Verifying this change
This change is already covered by existing tests: every test in
`flink-kubernetes` that uses `MixedKubernetesServerExtension`.
## Does this pull request potentially affect one of the following parts:
- Dependencies: no
- The public API: no
- The serializers: no
- The runtime per-record code paths: no
- Anything that affects deployment or recovery: no (test-only)
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
---
##### 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)
--
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]