浏览代码

also increase the timeout in the testcase

Christoph Hack 12 年之前
父节点
当前提交
3f2ab75e2d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      conn_test.go

+ 1 - 1
conn_test.go

@@ -60,7 +60,7 @@ func TestTimeout(t *testing.T) {
 	}
 
 	go func() {
-		<-time.After(1 * time.Second)
+		<-time.After(2 * time.Second)
 		t.Fatal("no timeout")
 	}()