From bae6f9583060187116aa8a069d0e63abfede5de0 Mon Sep 17 00:00:00 2001 From: "Guillaume J. Charmes" Date: Thu, 4 Apr 2013 20:32:44 -0700 Subject: [PATCH] Increase the timeout of TestRestore() to avoid unwanted timeout error --- runtime_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime_test.go b/runtime_test.go index 3cdcbe3b39..f76df953be 100644 --- a/runtime_test.go +++ b/runtime_test.go @@ -314,7 +314,7 @@ func TestRestore(t *testing.T) { // Simulate a crash/manual quit of dockerd: process dies, states stays 'Running' cStdin, _ := container2.StdinPipe() cStdin.Close() - if err := container2.WaitTimeout(time.Second); err != nil { + if err := container2.WaitTimeout(2 * time.Second); err != nil { t.Fatal(err) } container2.State.Running = true