KAFKA-19308: Add unit tests for OAuthBearerRefreshingLogin
Jira : https://issues.apache.org/jira/browse/KAFKA-19308
This PR adds unit tests for OAuthBearerRefreshingLogin.
- Increased coverage from 0% → 95% (line), 91% (branch), and 100% (method).
- Covers edge cases for token refresh, expiry handling, and exception scenarios.
- Verified locally with
./gradlew test.
This is a test-only change (no production code modifications).
Reviewers: @kirktrue
A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.
This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please leave a comment asking for a review. If the PR has merge conflicts, update it with the latest from the base branch.
If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact).
If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.
Somehow I missed/lost track of this PR...
@skrcode: are you able to fix up the linting errors? You can run ./gradlew check -x test to perform the check locally.
Thanks!