Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

test: add unit test case for func Remove #1167

Merged
merged 1 commit into from
Jan 9, 2020
Merged

Conversation

hs0210
Copy link
Contributor

@hs0210 hs0210 commented Jan 9, 2020

Signed-off-by: Hu Shuai hus.fnst@cn.fujitsu.com

Ⅰ. Describe what this PR did

Ⅱ. 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

Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
@pouchrobot
Copy link
Collaborator

We found this is your first time to contribute to Dragonfly, @hs0210
👏 We really appreciate it.
Just remind that you have read the contribution guide: https://github.com/dragonflyoss/Dragonfly/blob/master/CONTRIBUTING.md
If you didn't, you should do that first. If done, welcome again and please enjoy hacking! 🍻

@codecov-io
Copy link

Codecov Report

Merging #1167 into master will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1167      +/-   ##
==========================================
+ Coverage   47.18%   47.22%   +0.04%     
==========================================
  Files         113      113              
  Lines        7181     7181              
==========================================
+ Hits         3388     3391       +3     
+ Misses       3527     3522       -5     
- Partials      266      268       +2
Impacted Files Coverage Δ
pkg/syncmap/syncmap.go 24.74% <0%> (+3.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7894da1...a021b8a. Read the comment docs.

Copy link
Member

@lowzj lowzj left a comment

Choose a reason for hiding this comment

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

LGTM

@lowzj lowzj merged commit e817bf2 into dragonflyoss:master Jan 9, 2020
@hs0210 hs0210 deleted the work branch January 10, 2020 02:15
sungjunyoung pushed a commit to sungjunyoung/Dragonfly that referenced this pull request May 8, 2022
* feat: implement grpc client side sync pieces

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* fix: client unit test

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* chore: report sync piece error

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* chore: optimize pieceTaskSyncManager cancel

Signed-off-by: Jim Ma <majinjing3@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants