dongjoon-hyun opened a new pull request, #903: URL: https://github.com/apache/spark-kubernetes-operator/pull/903
### What changes were proposed in this pull request? This PR aims to upgrade `Mockito` from 5.23.0 to 5.24.0. Since `mockito-core` 5.24.0 declares the same dependencies as 5.23.0 (`byte-buddy` 1.17.7, `byte-buddy-agent` 1.17.7, and `objenesis` 3.3), only the `org.mockito:mockito-core` entry of `gradle/verification-metadata.xml` is changed. ### Why are the changes needed? To bring the latest bug fixes. - https://github.com/mockito/mockito/releases/tag/v5.24.0 (2026-09-23) - Fix data race in `InvocationContainerImpl.invocationForStubbing` (https://github.com/mockito/mockito/pull/3819) - Fix non-deterministic `AssertionError` when using `MockMakers.SUBCLASS` (https://github.com/mockito/mockito/pull/3795) - Fix `clearInlineMocks` not de-registering singleton mocks (https://github.com/mockito/mockito/pull/3829) - Preserve method parameters when clearing inline mocks (https://github.com/mockito/mockito/pull/3847) ### Does this PR introduce _any_ user-facing change? No. `Mockito` is a test-only dependency. ### How was this patch tested? Pass the CIs. I also manually verified the following with the Java 27 toolchain (Azul Zulu 27). - `gradle build` passes, including all unit tests of `spark-submission-worker` (40 tests) and `spark-operator` (526 tests). - `testRuntimeClasspath` of both modules resolves `org.mockito:mockito-core:5.24.0`. - `gradle/verification-metadata.xml` is regenerated from scratch with `--refresh-dependencies`, and the new checksums match the `.sha512` files on Maven Central. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
