mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
net: disable use of external listen along with other external network uses
By default the all.bash tests must not ever announce on an external address. It's not just an OS X issue. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5753067
This commit is contained in:
parent
0130a31366
commit
7c7966a426
4 changed files with 9 additions and 17 deletions
|
|
@ -32,7 +32,7 @@ func TestDialTimeout(t *testing.T) {
|
|||
numConns := listenerBacklog + 10
|
||||
|
||||
// TODO(bradfitz): It's hard to test this in a portable
|
||||
// way. This is unforunate, but works for now.
|
||||
// way. This is unfortunate, but works for now.
|
||||
switch runtime.GOOS {
|
||||
case "linux":
|
||||
// The kernel will start accepting TCP connections before userspace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue