浏览代码

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

Guillaume J. Charmes 12 年之前
父节点
当前提交
b76b329ef0
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 {
 		t.Fatal(err)
 	}
+	container2.State.Running = false
 }