diff options
author | Mikio Hara <mikioh.mikioh@gmail.com> | 2015-05-01 07:49:12 +0900 |
---|---|---|
committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2015-05-06 07:46:37 +0000 |
commit | 9b184fd23c47a8eae3587b247d05b25f8cab04ed (patch) | |
tree | b829d1b4d502b594c5dc7107df4bc16ace110173 /src/net/interface_linux_test.go | |
parent | 64d9ab524de3f07e96cda88e3ef296291ee6dfc7 (diff) | |
download | go-git-9b184fd23c47a8eae3587b247d05b25f8cab04ed.tar.gz |
net: deflake listener tests
This change makes TestDualStack{TCP,UDP}Listener work more properly by
attempting to book an available service port before testing.
Also simplifies error messages in tests.
Fixes #5001.
Change-Id: If13b0d0039878c9bd32061a0440664e4fa7abaf7
Reviewed-on: https://go-review.googlesource.com/9661
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/net/interface_linux_test.go')
0 files changed, 0 insertions, 0 deletions