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: increase common module unit test coverage #6157

Merged
merged 26 commits into from
Jan 2, 2024

Conversation

l81893521
Copy link
Contributor

@l81893521 l81893521 commented Dec 14, 2023

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

The coverage please see https://app.codecov.io/gh/apache/incubator-seata/pull/6157/tree

Ⅱ. Does this pull request fix one issue?

#6158

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Merging #6157 (52ccf3b) into 2.x (5563492) will increase coverage by 0.09%.
Report is 3 commits behind head on 2.x.
The diff coverage is n/a.

❗ Current head 52ccf3b differs from pull request most recent head 88df4a7. Consider uploading reports for the commit 88df4a7 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #6157      +/-   ##
============================================
+ Coverage     48.94%   49.04%   +0.09%     
- Complexity     4775     4793      +18     
============================================
  Files           913      913              
  Lines         31710    31697      -13     
  Branches       3827     3823       -4     
============================================
+ Hits          15521    15546      +25     
+ Misses        14653    14620      -33     
+ Partials       1536     1531       -5     

see 12 files with indirect coverage changes

@l81893521 l81893521 force-pushed the test_incr_common_unit_test branch from 6aa6296 to f3669b6 Compare December 21, 2023 12:03
@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d2dbbff) 48.98% compared to head (456415d) 49.73%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #6157      +/-   ##
============================================
+ Coverage     48.98%   49.73%   +0.75%     
- Complexity     4779     4880     +101     
============================================
  Files           915      915              
  Lines         31896    31880      -16     
  Branches       3855     3853       -2     
============================================
+ Hits          15624    15857     +233     
+ Misses        14710    14467     -243     
+ Partials       1562     1556       -6     
Files Coverage Δ
...rc/main/java/io/seata/common/util/ConfigTools.java 100.00% <ø> (+28.81%) ⬆️

... and 20 files with indirect coverage changes

@l81893521 l81893521 force-pushed the test_incr_common_unit_test branch from a651cd6 to 13e1ac5 Compare December 21, 2023 16:06
@l81893521 l81893521 changed the title [WIP] Test: increase common module unit test coverage Test: increase common module unit test coverage Dec 22, 2023
xingfudeshi
xingfudeshi previously approved these changes Dec 25, 2023
Copy link
Member

@xingfudeshi xingfudeshi left a comment

Choose a reason for hiding this comment

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

Please remove @Date @description @author .
I'm ok with other changes.

@l81893521 l81893521 force-pushed the test_incr_common_unit_test branch from 0433889 to 456415d Compare December 30, 2023 14:14
@xingfudeshi xingfudeshi self-requested a review January 2, 2024 03:46
Copy link
Member

@xingfudeshi xingfudeshi left a comment

Choose a reason for hiding this comment

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

LGTM

@xingfudeshi xingfudeshi merged commit c1e611e into apache:2.x Jan 2, 2024
6 checks passed
@slievrly slievrly added this to the 2.1.0 milestone Jan 16, 2024
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.

5 participants