Prevent destroy() to stop twice container in TestRestore()

Upstream-commit: b76b329ef05748e75224e8fd09c1c697ddfd2a50
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-04-04 20:40:42 -07:00
parent 2bc3ef6328
commit 51b0dca52e

View File

@ -358,4 +358,5 @@ func TestRestore(t *testing.T) {
if err := container3.Run(); err != nil {
t.Fatal(err)
}
container2.State.Running = false
}