mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
TestKill and TestMultipleContainers: run sleep instead of cat /bin/zero. fixes #737
This commit is contained in:
parent
862e223cec
commit
fb86dcfb17
1 changed files with 3 additions and 3 deletions
|
@ -588,7 +588,7 @@ func TestKill(t *testing.T) {
|
|||
defer nuke(runtime)
|
||||
container, err := NewBuilder(runtime).Create(&Config{
|
||||
Image: GetTestImage(runtime).ID,
|
||||
Cmd: []string{"cat", "/dev/zero"},
|
||||
Cmd: []string{"sleep", "2"},
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
@ -897,7 +897,7 @@ func TestMultipleContainers(t *testing.T) {
|
|||
|
||||
container1, err := builder.Create(&Config{
|
||||
Image: GetTestImage(runtime).ID,
|
||||
Cmd: []string{"cat", "/dev/zero"},
|
||||
Cmd: []string{"sleep", "2"},
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
@ -907,7 +907,7 @@ func TestMultipleContainers(t *testing.T) {
|
|||
|
||||
container2, err := builder.Create(&Config{
|
||||
Image: GetTestImage(runtime).ID,
|
||||
Cmd: []string{"cat", "/dev/zero"},
|
||||
Cmd: []string{"sleep", "2"},
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue