-
Notifications
You must be signed in to change notification settings - Fork 950
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
test: change test image #2657
Conversation
Codecov Report
@@ 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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM.
test/cli_container_commit_test.go
Outdated
@@ -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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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>
aa7b371
to
b88f459
Compare
PTAL @HusterWan |
LGTM |
Ⅰ. 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