mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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
This commit is contained in:
parent
d539d079ad
commit
2807621d01
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue