apache / incubator-horaedb-meta

Meta service of HoraeDB cluster.
https://horaedb.apache.org
Apache License 2.0
27 stars 15 forks source link

fix: fix codecov #212

Closed ZuLiangWang closed 1 year ago

ZuLiangWang commented 1 year ago

Which issue does this PR close?

Closes #

Rationale for this change

Fix the code cov problem, there is a problem with the current baseline, the expired code is used, the baseline is not updated.

What changes are included in this PR?

Are there any user-facing changes?

None.

How does this change test

No need to test.

codecov[bot] commented 1 year ago

Codecov Report

Merging #212 (dd54763) into main (7f1354e) will increase coverage by 20.80%. The diff coverage is 57.11%.

@@             Coverage Diff             @@
##             main     #212       +/-   ##
===========================================
+ Coverage   39.66%   60.46%   +20.80%     
===========================================
  Files          34       41        +7     
  Lines        4213     4943      +730     
===========================================
+ Hits         1671     2989     +1318     
+ Misses       2317     1573      -744     
- Partials      225      381      +156     
Impacted Files Coverage Δ
pkg/coderr/code.go 0.00% <ø> (ø)
server/cluster/metadata/types.go 0.00% <0.00%> (ø)
server/coordinator/procedure/util.go 0.00% <ø> (ø)
server/storage/meta.go 0.00% <ø> (ø)
server/storage/storage_impl.go 57.21% <0.00%> (-5.10%) :arrow_down:
server/member/watch_leader.go 40.62% <20.00%> (-2.71%) :arrow_down:
server/cluster/manager.go 39.02% <23.07%> (ø)
server/member/member.go 47.39% <45.00%> (-1.32%) :arrow_down:
server/coordinator/scheduler/scheduler_manager.go 53.96% <47.36%> (ø)
server/coordinator/procedure/manager_impl.go 73.68% <55.55%> (+73.68%) :arrow_up:
... and 17 more

... and 2 files with indirect coverage changes