Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: change test image #2657

Merged
merged 1 commit into from
Jan 10, 2019

Conversation

rudyfly
Copy link
Collaborator

@rudyfly rudyfly commented Jan 10, 2019

Ⅰ. Describe what this PR did

change test image to busyboxImage

Ⅱ. Does this pull request fix one issue?

NONE

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

just modify test case.

Ⅳ. Describe how to verify it

test case: TestCommitHardLink, TestLogsOpt, TestLogsWithDetails pass

Ⅴ. Special notes for reviews

Signed-off-by: Rudy Zhang rudyflyzhang@gmail.com

@codecov
Copy link

codecov bot commented Jan 10, 2019

Codecov Report

Merging #2657 into master will decrease coverage by 1.56%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2657      +/-   ##
==========================================
- Coverage   69.61%   68.04%   -1.57%     
==========================================
  Files         283      283              
  Lines       18900    18900              
==========================================
- Hits        13157    12861     -296     
- Misses       4269     4587     +318     
+ Partials     1474     1452      -22
Flag Coverage Δ
#criv1alpha1test 31.4% <ø> (-0.13%) ⬇️
#criv1alpha2test 20.32% <ø> (-15.4%) ⬇️
#integrationtest 41.73% <ø> (-0.05%) ⬇️
#nodee2etest 32.76% <ø> (-0.18%) ⬇️
#unittest 26.93% <ø> (ø) ⬆️
Impacted Files Coverage Δ
cri/v1alpha2/server.go 42.4% <0%> (-36.81%) ⬇️
storage/quota/quota.go 9.9% <0%> (-35.14%) ⬇️
storage/quota/prjquota.go 15.43% <0%> (-12.09%) ⬇️
cri/ocicni/cni_manager.go 58.82% <0%> (-11.77%) ⬇️
cri/v1alpha2/cri_wrapper.go 53.6% <0%> (-10.81%) ⬇️
daemon/mgr/container_storage.go 53.25% <0%> (-7.87%) ⬇️
ctrd/watch.go 77.46% <0%> (-7.05%) ⬇️
daemon/mgr/system.go 67.93% <0%> (-5.35%) ⬇️
cri/v1alpha2/cri.go 63.73% <0%> (-3.97%) ⬇️
daemon/mgr/events.go 96.29% <0%> (-3.71%) ⬇️
... and 8 more

Copy link
Contributor

@ZYecho ZYecho left a comment

Choose a reason for hiding this comment

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

code LGTM.

@@ -64,7 +64,7 @@ func (suite *PouchCommitSuite) TestCommitHardLink(c *check.C) {
cname := "TestCommitHardLink"
image := "foo:hardlink"

ret := command.PouchRun("run", "-t", "--name", cname, "busybox", "sh", "-c", "touch file1 && ln file1 file2 && ls -di file1 file2")
ret := command.PouchRun("run", "-t", "--name", cname, busyboxImage, "sh", "-c", "touch file1 && ln file1 file2 && ls -di file1 file2")
Copy link
Contributor

Choose a reason for hiding this comment

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

convert one line to multi line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

modified

change test image to `busyboxImage`

Signed-off-by: Rudy Zhang <rudyflyzhang@gmail.com>
@rudyfly
Copy link
Collaborator Author

rudyfly commented Jan 10, 2019

PTAL @HusterWan

@HusterWan
Copy link
Contributor

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Jan 10, 2019
@HusterWan HusterWan merged commit 71853ea into AliyunContainerService:master Jan 10, 2019
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/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants