Skip to content
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

test: add some UT cases for config module #7197

Open
wants to merge 4 commits into
base: 2.x
Choose a base branch
from

Conversation

slievrly
Copy link
Member

@slievrly slievrly commented Mar 9, 2025

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

add some UT cases for config module

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@apache apache deleted a comment from codecov bot Mar 9, 2025
@apache apache deleted a comment from codecov bot Mar 9, 2025
@apache apache deleted a comment from codecov bot Mar 9, 2025
Copy link

codecov bot commented Mar 9, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 51.46%. Comparing base (01877a9) to head (cefa249).

Files with missing lines Patch % Lines
...pache/seata/config/apollo/ApolloConfiguration.java 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #7197      +/-   ##
============================================
- Coverage     51.49%   51.46%   -0.03%     
- Complexity     6819     6841      +22     
============================================
  Files          1169     1171       +2     
  Lines         41567    41720     +153     
  Branches       4872     4897      +25     
============================================
+ Hits          21405    21473      +68     
- Misses        18135    18212      +77     
- Partials       2027     2035       +8     
Files with missing lines Coverage Δ
...pache/seata/config/consul/ConsulConfiguration.java 39.47% <ø> (ø)
...pache/seata/config/apollo/ApolloConfiguration.java 62.19% <66.66%> (+9.18%) ⬆️

... and 5 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant