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() }