Sermant icon indicating copy to clipboard operation
Sermant copied to clipboard

【test】Replenish the UT for spring registry plugin

Open justforstudy-A opened this issue 2 years ago • 1 comments

What type of PR is this?

/test

Which issue(s) this PR fixes:

Fixes #737 Add UT for registry plugin Only

Use case description: Replenish the UT for spring registry plugin

Does this PR introduce a user-facing change?

No

Additional documentation e.g., usage docs, etc.:

No

justforstudy-A avatar Sep 07 '22 07:09 justforstudy-A

Codecov Report

Merging #736 (d7eff2d) into develop (c0ea065) will increase coverage by 3.64%. The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             develop     #736      +/-   ##
=============================================
+ Coverage      26.42%   30.06%   +3.64%     
- Complexity      1574     1790     +216     
=============================================
  Files            617      617              
  Lines          13438    13436       -2     
  Branches        1482     1482              
=============================================
+ Hits            3551     4040     +489     
+ Misses          9440     8874     -566     
- Partials         447      522      +75     
Flag Coverage Δ
unittests 30.06% <0.00%> (+3.64%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...y/interceptors/health/ConsulHealthInterceptor.java 76.31% <0.00%> (+76.31%) :arrow_up:
...wei/registry/service/register/RegisterManager.java 56.75% <ø> (+10.41%) :arrow_up:
...ant/core/service/tracing/sender/TracingSender.java 68.25% <0.00%> (+4.76%) :arrow_up:
...awei/registry/auto/sc/ServiceCombRegistration.java 70.00% <0.00%> (+10.00%) :arrow_up:
...huawei/registry/support/RegisterSwitchSupport.java 66.66% <0.00%> (+11.11%) :arrow_up:
...try/config/RegistryConfigSubscribeServiceImpl.java 18.18% <0.00%> (+18.18%) :arrow_up:
...m/huawei/registry/service/register/ScRegister.java 26.66% <0.00%> (+18.33%) :arrow_up:
...main/java/com/huawei/registry/utils/ZoneUtils.java 100.00% <0.00%> (+27.27%) :arrow_up:
.../huawei/registry/config/RegisterDynamicConfig.java 100.00% <0.00%> (+28.57%) :arrow_up:
... and 37 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov-commenter avatar Sep 09 '22 08:09 codecov-commenter