apache / incubator-seata

:fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.
https://seata.apache.org/
Apache License 2.0
25.25k stars 8.77k forks source link

[WIP]test: increate the code coverage of the rm-datasource module #6777

Open l81893521 opened 1 month ago

l81893521 commented 1 month ago

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Increate the code coverage of the rm-datasource module

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 52.16%. Comparing base (64035c5) to head (aea1d68). Report is 1 commits behind head on 2.x.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/apache/incubator-seata/pull/6777/graphs/tree.svg?width=650&height=150&src=pr&token=tbmHt2ZfxO&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/incubator-seata/pull/6777?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## 2.x #6777 +/- ## ========================================= Coverage 52.15% 52.16% Complexity 6294 6294 ========================================= Files 1064 1064 Lines 37215 37214 -1 Branches 4417 4417 ========================================= + Hits 19411 19412 +1 Misses 15883 15883 + Partials 1921 1919 -2 ``` [see 6 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-seata/pull/6777/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)