Message ID | mcra9fmq8al.fsf@iant-glaptop.roam.corp.google.com |
---|---|
State | New |
Headers | show |
diff -r 9f703c696641 libgo/go/net/dial_test.go --- a/libgo/go/net/dial_test.go Tue Dec 17 12:26:20 2013 -0800 +++ b/libgo/go/net/dial_test.go Fri Dec 27 13:37:23 2013 -0800 @@ -147,7 +147,7 @@ n = 100 } for i := 0; i < n; i++ { - c, err := Dial("tcp", addr) + c, err := DialTimeout("tcp", addr, time.Millisecond) if err == nil { c.Close() t.Errorf("#%d: Dial %q succeeded", i, addr)