aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2015-04-01 22:18:33 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2015-04-03 01:50:30 +0000
commit21ed40c8cb4795433bda0cfb7754db5603a916f0 (patch)
tree4dae7cedab10df7c0ca4bc37203ffc6db350fb42 /src/runtime
parente8694c8196e39328d6d61b1f32228d21112008d7 (diff)
downloadgo-21ed40c8cb4795433bda0cfb7754db5603a916f0.tar.xz
net: deflake TestDialGoogle, TestResolveDialGoogle
This change makes use of the socktest package instead of the non-thread safe variable syscall.SocketDisableIPv6 for simulating unreachable external networks. Also adds -ipv4 flag, -ipv6 flag already exists, as a control knob for testing on each of IPv4-only, IPv6-only and dual IP stack kernels. Fixes #7687. Change-Id: I82002007fd526e8cf4de207f935e721df049a22f Reviewed-on: https://go-review.googlesource.com/8390 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions