Skip to content

Conversation

dentiny
Copy link
Contributor

@dentiny dentiny commented Jul 14, 2025

What changes are included in this PR?

mockall dependency is introduced in #1484, which is used for unit test on retry.
But it's only used in unit tests, but not production code; so it should be placed under dev section, and completely disabled in production code path.
Current implementation unnecessarily increases crate size for production usage.

Are these changes tested?

N/A, a no-op change, a passed compilation should be enough

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dentiny for this pr, good catch!

@liurenjie1024 liurenjie1024 merged commit 36af3f7 into apache:main Jul 15, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants