[
https://issues.apache.org/jira/browse/IGNITE-28237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066948#comment-18066948
]
Evgeny Stanilovsky commented on IGNITE-28237:
---------------------------------------------
[~animovscw] thank you for contribution, merged to master
> Finalize Mockito 5 migration and fix incompatible tests
> -------------------------------------------------------
>
> Key: IGNITE-28237
> URL: https://issues.apache.org/jira/browse/IGNITE-28237
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Kirill Anisimov
> Assignee: Kirill Anisimov
> Priority: Major
> Fix For: 2.19
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{mockito.version}} is already set to {{5.21.0}} in the parent POM.
> The task is to finalize Mockito 5 migration by fixing incompatible test code
> and validating test execution.
> h3. Problem:
> Several tests still used internal Mockito APIs from org.mockito.internal.*.
> This is unsafe because internal Mockito classes are implementation details
> and are not covered by compatibility guarantees across major versions.
> Keeping such usages after migration to Mockito 5 could lead to brittle tests
> and future breakages even if the current dependency version resolves
> successfully.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)