From 77a04357a1b66b9e5b2bae2efc0192b927f926fe Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Tue, 8 Apr 2014 20:56:30 +0000 Subject: [PATCH] Remove restart ghost test We do not allow ghosts anymore and this test does not add any value Docker-DCO-1.1-Signed-off-by: Michael Crosby (github: crosbymichael) --- integration/container_test.go | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/integration/container_test.go b/integration/container_test.go index c64f9e610b..d089e7dc45 100644 --- a/integration/container_test.go +++ b/integration/container_test.go @@ -1714,31 +1714,3 @@ func TestMultipleVolumesFrom(t *testing.T) { t.Fail() } } - -func TestRestartGhost(t *testing.T) { - runtime := mkRuntime(t) - defer nuke(runtime) - - container, _, err := runtime.Create( - &runconfig.Config{ - Image: GetTestImage(runtime).ID, - Cmd: []string{"sh", "-c", "echo -n bar > /test/foo"}, - Volumes: map[string]struct{}{"/test": {}}, - }, - "", - ) - if err != nil { - t.Fatal(err) - } - - if err := container.Kill(); err != nil { - t.Fatal(err) - } - - container.State.SetGhost(true) - - _, err = container.Output() - if err != nil { - t.Fatal(err) - } -}