Skip to content

Add test to test the exception branch #9226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Mia0451
Copy link

@Mia0451 Mia0451 commented Mar 5, 2025

Add test to increase test coverage

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.01%. Comparing base (343ed4f) to head (5643a41).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@lizhimins lizhimins left a comment

Choose a reason for hiding this comment

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

不是很理解这个用例的目的,只有 getMaxOffsetInQueue 会抛出 cq exception,这里转一下 runtime exception 主要是想让这一次请求失败,正常应该不会触发

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.

3 participants