[SPARK-56098][BUILD] Upgrade mockito-core to 5.23.0 and use mockito-5-18#54915
Closed
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
Closed
[SPARK-56098][BUILD] Upgrade mockito-core to 5.23.0 and use mockito-5-18#54915dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
mockito-core to 5.23.0 and use mockito-5-18#54915dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
Conversation
mockito-core to 5.23.0 and use mockito-5-18mockito-core to 5.23.0 and use mockito-5-18
yaooqinn
approved these changes
Mar 20, 2026
HyukjinKwon
approved these changes
Mar 20, 2026
LuciferYang
approved these changes
Mar 20, 2026
Member
Author
|
Thank you, @yaooqinn , @HyukjinKwon , @LuciferYang . |
terana
pushed a commit
to terana/spark
that referenced
this pull request
Mar 23, 2026
…o-5-18` ### What changes were proposed in this pull request? This PR upgrades `mockito-core` to 5.23.0 and the corresponding `scalatestplus-mockito` to `mockito-5-18` to avoid any future Java 21 and 25 testing issue. ### Why are the changes needed? Currently, we are using 5.12.0 which was released on 2024-05-11. We had better keep the test dependency up to date with the latest bug fixes and improvements. - https://github.com/mockito/mockito/releases/tag/v5.23.0 - https://github.com/mockito/mockito/releases/tag/v5.22.0 - mockito/mockito#3778 - mockito/mockito#3785 - https://github.com/mockito/mockito/releases/tag/v5.21.0 - mockito/mockito#3758 - https://github.com/mockito/mockito/releases/tag/v5.20.0 - mockito/mockito#3708 - https://github.com/mockito/mockito/releases/tag/v5.19.0 - mockito/mockito#3659 - https://github.com/mockito/mockito/releases/tag/v5.18.0 - https://github.com/mockito/mockito/releases/tag/v5.17.0 - https://github.com/mockito/mockito/releases/tag/v5.16.0 - https://github.com/mockito/mockito/releases/tag/v5.15.0 - mockito/mockito#3476 - https://github.com/mockito/mockito/releases/tag/v5.14.0 - https://github.com/mockito/mockito/releases/tag/v5.13.0 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-4-6) Closes apache#54915 from dongjoon-hyun/SPARK-56098. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR upgrades
mockito-coreto 5.23.0 and the correspondingscalatestplus-mockitotomockito-5-18to avoid any future Java 21 and 25 testing issue.Why are the changes needed?
Currently, we are using 5.12.0 which was released on 2024-05-11.
We had better keep the test dependency up to date with the latest bug fixes and improvements.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-opus-4-6)