1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

TestKill and TestMultipleContainers: run sleep instead of cat /bin/zero. fixes #737

Upstream-commit: fb86dcfb17444089aea31cdf6c9b09c4421731c7
Component: engine
This commit is contained in:
Erno Hopearuoho
2013-06-25 17:52:10 +03:00
parent d9bf1bf281
commit e56adbd4e1

View File

@@ -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 {