-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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 seata-core module unit test coverage #6168
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## 2.x #6168 +/- ##
============================================
+ Coverage 48.98% 49.24% +0.25%
- Complexity 4782 4821 +39
============================================
Files 913 913
Lines 31697 31697
Branches 3823 3823
============================================
+ Hits 15528 15608 +80
+ Misses 14632 14547 -85
- Partials 1537 1542 +5
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #6168 +/- ##
============================================
+ Coverage 48.95% 49.72% +0.77%
- Complexity 4778 4891 +113
============================================
Files 915 915
Lines 31892 31892
Branches 3853 3853
============================================
+ Hits 15613 15859 +246
+ Misses 14720 14468 -252
- Partials 1559 1565 +6 |
/** | ||
* The RamSignAdapter Test | ||
* | ||
* @author zhongxiang.wang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove @author annotation
/** | ||
* The CompressorType Test | ||
* | ||
* @author zhongxiang.wang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove @author annotation
changes/en-us/2.x.md
Outdated
- [[#6081](https://github.com/apache/incubator-seata/pull/6081)] add `test-os.yml` for testing the OS | ||
- [[#PR_NO](https://github.com/apache/incubator-seata/pull/PR_NO)] A brief and accurate description of PR | ||
- [[#6125](https://github.com/apache/incubator-seata/pull/6125)] unbind xid in TransactionTemplateTest | ||
- [[#6081](https://github.com/seata/seata/pull/6081)] add `test-os.yml` for testing the OS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think need revert this line, and all seata/seata should change to apache/incubator-seata.
Assertions.assertEquals(32, signingKey.length); | ||
Assertions.assertArrayEquals(expectArray, signingKey); | ||
} catch (NoSuchMethodException | InvocationTargetException | IllegalAccessException e) { | ||
throw new RuntimeException(e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is an exception caught and thrown in UT, and what does it do?
Ⅰ. Describe what this PR did
#6122
Ⅱ. 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