From fb86dcfb17444089aea31cdf6c9b09c4421731c7 Mon Sep 17 00:00:00 2001 From: Erno Hopearuoho Date: Tue, 25 Jun 2013 17:52:10 +0300 Subject: [PATCH] TestKill and TestMultipleContainers: run sleep instead of cat /bin/zero. fixes #737 --- container_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/container_test.go b/container_test.go index 14c7ba656c..736f6814d0 100644 --- a/container_test.go +++ b/container_test.go @@ -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 {