Skip to content

Conversation

@allencloud
Copy link
Collaborator

Signed-off-by: Allen Sun [email protected]

Ⅰ. Describe what this PR did

This pull request add unit test for function validate of filter.

Ⅱ. Does this pull request fix one issue?

none

Ⅲ. Describe how you did it

none

Ⅳ. Describe how to verify it

none

Ⅴ. Special notes for reviews

none

@codecov-io
Copy link

codecov-io commented Jul 12, 2018

Codecov Report

Merging #1718 into master will decrease coverage by 0.57%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1718      +/-   ##
==========================================
- Coverage   41.35%   40.78%   -0.58%     
==========================================
  Files         277      275       -2     
  Lines       18209    18401     +192     
==========================================
- Hits         7530     7504      -26     
- Misses       9747     9968     +221     
+ Partials      932      929       -3
Impacted Files Coverage Δ
pkg/utils/filters/filter.go 72.5% <100%> (+5%) ⬆️
daemon/mgr/image.go 45.1% <0%> (-23.37%) ⬇️
ctrd/image.go 59.92% <0%> (-21.27%) ⬇️
apis/server/router.go 75.73% <0%> (-15.69%) ⬇️
apis/server/image_bridge.go 56.3% <0%> (-13.7%) ⬇️
pkg/meta/store.go 54.76% <0%> (-4.77%) ⬇️
daemon/containerio/cio.go 58.73% <0%> (-4.77%) ⬇️
daemon/containerio/container_io.go 53.59% <0%> (-4.42%) ⬇️
daemon/mgr/container_utils.go 54.97% <0%> (-1.74%) ⬇️
daemon/mgr/system.go 73.27% <0%> (-1.73%) ⬇️
... and 5 more

wantErr bool
}{
{
name: "",
Copy link
Contributor

Choose a reason for hiding this comment

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

How about make name readable?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cannot agree more. Thanks. and updated. @Ace-Tang

@Ace-Tang
Copy link
Contributor

lgtm

@Ace-Tang Ace-Tang merged commit 1c6bc74 into AliyunContainerService:master Jul 12, 2018
@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

areas/test LGTM one maintainer or community participant agrees to merge the pull reuqest. size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants