This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
Replace Mockito mocks with Mockk mocks #24703
Labels
eng:intermittent-test
Evil test failures that only happen now-and-then and are a productivity killer
eng:qa:not-needed
Added by QA to issues that cannot be tested
eng:tech-debt
Engineering debt. Missing unit tests, etc.
eng:test-debt
Test debt. Unit test creation or maintenance.
good first issue
Good for newcomers
help wanted
Help wanted from a contributor. More complex than good first issue.
needs:triage
Issue needs triage
There are placed in our unit tests where Mockito mocks are used and this is causing intermittent test fails.
Saw this issue and fixed two cases on #24620, today I saw another occurrence for another PR.
We'll need to search for all places where
mock
is used and replace it withmockk
.Special care is needed for deciding where to use a relaxed mockk or not. (behavior is different between Mockito and Mockk)
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: