commit | aedee3087008fd5493976a3c9e732f2fa5deb883 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Sun Feb 15 09:35:18 2015 -0800 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Sun Mar 01 22:55:34 2015 +0000 |
tree | 0c16467e66f7269ee437b719cd45242085635f69 | |
parent | cf14e0e333c854c9ee4730c7e868ffd8424b95f4 [diff] |
net: deflake TestPacketConn, increase timeout Tests sometimes failed with: ok mime/internal/quotedprintable 0.606s ok mime/multipart 0.819s --- FAIL: TestPacketConn (0.10s) packetconn_test.go:96: PacketConn.ReadFrom failed: WSARecvFrom udp 127.0.0.1:64156: i/o timeout FAIL FAIL net 3.602s ok net/http 4.618s ok net/http/cgi 0.576s Theory: 100 ms is too short. Small timer granularity on Wnidows, or an allocation in the middle causing a GC sometimes? In any case, increase it to 500 ms. Change-Id: I48cc4d600eb168db9f85c0fd05335dd630254c3c Reviewed-on: https://go-review.googlesource.com/4922 Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
For documentation about how to install and use Go, visit https://golang.org/ or load doc/install-source.html in your web browser.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Please report issues here: https://golang.org/issue/new
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this file). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install-source.html). You should also add the Go binary directory $GOROOT/bin to your shell's path.
For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile:
export GOROOT=$HOME/go export PATH=$PATH:$GOROOT/bin
See https://golang.org/doc/install or doc/install.html for more details.