From f7b4f0c19329bcf13b0df5408e2bc9eac89e9f44 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Fri, 29 Mar 2013 13:37:52 -0700 Subject: [PATCH] FIXME: implement a timeout in TestCmdStreamLArgStderr to avoid blocking the whole test suite when it fails --- archive_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/archive_test.go b/archive_test.go index 3458c20239..35185628a5 100644 --- a/archive_test.go +++ b/archive_test.go @@ -10,6 +10,7 @@ import ( func TestCmdStreamLargeStderr(t *testing.T) { // This test checks for deadlock; thus, the main failure mode of this test is deadlocking. + // FIXME implement a timeout to avoid blocking the whole test suite when this test fails cmd := exec.Command("/bin/sh", "-c", "dd if=/dev/zero bs=1k count=1000 of=/dev/stderr; echo hello") out, err := CmdStream(cmd) if err != nil {