From: Russ Cox Date: Sat, 5 Dec 2009 02:34:45 +0000 (-0800) Subject: net: more fiddling with the udp test. X-Git-Tag: weekly.2009-12-07~20 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2807621d01e8e55fd4748f0159599e61f2cd91f4;p=gostls13.git net: more fiddling with the udp test. i don't know why the timeout needs to be so big. R=r https://golang.org/cl/165063 --- diff --git a/src/pkg/net/server_test.go b/src/pkg/net/server_test.go index e1301ceb92..4041081067 100644 --- a/src/pkg/net/server_test.go +++ b/src/pkg/net/server_test.go @@ -61,7 +61,7 @@ func connect(t *testing.T, network, addr string, isEmpty bool) { if err != nil { t.Fatalf("net.Dial(%q, %q, %q) = _, %v", network, laddr, addr, err) } - fd.SetReadTimeout(10e6); // 10ms + fd.SetReadTimeout(1e9); // 1s var b []byte; if !isEmpty {