Remove restart ghost test
| ... | ... |
@@ -1714,31 +1714,3 @@ func TestMultipleVolumesFrom(t *testing.T) {
|
| 1714 | 1714 |
t.Fail() |
| 1715 | 1715 |
} |
| 1716 | 1716 |
} |
| 1717 |
- |
|
| 1718 |
-func TestRestartGhost(t *testing.T) {
|
|
| 1719 |
- runtime := mkRuntime(t) |
|
| 1720 |
- defer nuke(runtime) |
|
| 1721 |
- |
|
| 1722 |
- container, _, err := runtime.Create( |
|
| 1723 |
- &runconfig.Config{
|
|
| 1724 |
- Image: GetTestImage(runtime).ID, |
|
| 1725 |
- Cmd: []string{"sh", "-c", "echo -n bar > /test/foo"},
|
|
| 1726 |
- Volumes: map[string]struct{}{"/test": {}},
|
|
| 1727 |
- }, |
|
| 1728 |
- "", |
|
| 1729 |
- ) |
|
| 1730 |
- if err != nil {
|
|
| 1731 |
- t.Fatal(err) |
|
| 1732 |
- } |
|
| 1733 |
- |
|
| 1734 |
- if err := container.Kill(); err != nil {
|
|
| 1735 |
- t.Fatal(err) |
|
| 1736 |
- } |
|
| 1737 |
- |
|
| 1738 |
- container.State.SetGhost(true) |
|
| 1739 |
- |
|
| 1740 |
- _, err = container.Output() |
|
| 1741 |
- if err != nil {
|
|
| 1742 |
- t.Fatal(err) |
|
| 1743 |
- } |
|
| 1744 |
-} |