Commit 2807621d authored by Russ Cox's avatar Russ Cox

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
parent d539d079
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment