From a22c78523f20c44e90e7a3adbd01a5560ed4f6ae Mon Sep 17 00:00:00 2001 From: "Guillaume J. Charmes" Date: Tue, 23 Apr 2013 11:09:48 -0700 Subject: [PATCH] Wait for the container to finish in TestAttachDisconnect before destroying it --- commands_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands_test.go b/commands_test.go index a64b4f4dc7..83b480d52a 100644 --- a/commands_test.go +++ b/commands_test.go @@ -394,4 +394,5 @@ func TestAttachDisconnect(t *testing.T) { // Try to avoid the timeoout in destroy. Best effort, don't check error cStdin, _ := container.StdinPipe() cStdin.Close() + container.Wait() }