浏览代码

FIXME: implement a timeout in TestCmdStreamLArgStderr to avoid blocking the whole test suite when it fails

Solomon Hykes 12 年之前
父节点
当前提交
f7b4f0c193
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      archive_test.go

+ 1 - 0
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 {