Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

test: add unit test case for hashcircler_locator.go #1390

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

fenggw-fnst
Copy link
Contributor

Signed-off-by: Guangwen Feng [email protected]

Ⅰ. Describe what this PR did

Add unit test cases for hashcircler_locator.go

Ⅱ. Does this pull request fix one issue?

NONE

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-commenter
Copy link

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1390      +/-   ##
==========================================
+ Coverage   52.02%   52.09%   +0.07%     
==========================================
  Files         137      137              
  Lines        9108     9108              
==========================================
+ Hits         4738     4745       +7     
+ Misses       3987     3979       -8     
- Partials      383      384       +1     
Impacted Files Coverage Δ
supernode/daemon/mgr/scheduler/manager.go 21.91% <0.00%> (-0.69%) ⬇️
dfget/locator/hashcircler_locator.go 81.25% <0.00%> (+10.00%) ⬆️

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 f372031...354163b. Read the comment docs.

@fenggw-fnst
Copy link
Contributor Author

@lowzj @zhouhaibing089 Hi! Could you PTAL, thanks!

Copy link
Contributor

@zhouhaibing089 zhouhaibing089 left a comment

Choose a reason for hiding this comment

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

LGTM

@fenggw-fnst
Copy link
Contributor Author

@zhouhaibing089 Can we get this merged?

@jim3ma jim3ma merged commit edd832b into dragonflyoss:master Sep 28, 2020
@fenggw-fnst fenggw-fnst deleted the work branch September 28, 2020 04:59
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.

5 participants