Add test to test the exception branch#9226
Closed
Mia0451 wants to merge 2 commits intoapache:developfrom
Closed
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #9226 +/- ##
=============================================
- Coverage 48.06% 48.01% -0.05%
+ Complexity 12107 12091 -16
=============================================
Files 1322 1322
Lines 93101 93101
Branches 11937 11937
=============================================
- Hits 44748 44704 -44
- Misses 42822 42855 +33
- Partials 5531 5542 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
lizhimins
requested changes
Mar 20, 2025
Member
lizhimins
left a comment
There was a problem hiding this comment.
不是很理解这个用例的目的,只有 getMaxOffsetInQueue 会抛出 cq exception,这里转一下 runtime exception 主要是想让这一次请求失败,正常应该不会触发
|
This PR is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR. |
|
This PR was closed because it has been inactive for 3 days since being marked as stale. |
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.
Add test to increase test coverage