소스 검색

Merge pull request #5095 from crosbymichael/remove-ghost-test

Remove restart ghost test
Guillaume J. Charmes 11 년 전
부모
커밋
a10c17ad11
1개의 변경된 파일0개의 추가작업 그리고 28개의 파일을 삭제
  1. 0 28
      integration/container_test.go

+ 0 - 28
integration/container_test.go

@@ -1714,31 +1714,3 @@ func TestMultipleVolumesFrom(t *testing.T) {
 		t.Fail()
 		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)
-	}
-}