Forráskód Böngészése

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

Guillaume J. Charmes 12 éve
szülő
commit
b76b329ef0
1 módosított fájl, 1 hozzáadás és 0 törlés
  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
 }