Browse Source

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

Guillaume J. Charmes 12 years ago
parent
commit
b76b329ef0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      runtime_test.go

+ 1 - 0
runtime_test.go

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