Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: TestDualStackUDPListener test failure #3301
Sporadic test failure on linux-amd64 $ go test net --- FAIL: TestDualStackUDPListener (0.00 seconds) unicast_test.go:429: Second ListenPacket("udp", "127.0.0.1:47036") returns listen udp 127.0.0.1:47036: address already in use, expected <nil> FAIL FAIL net 1.161s $ hg id 1c40c7aee4d6 tip
The test does a listen on [::1]:0, gets [::1]:47036, and then tries to listen 127.0.0.1:47036. Maybe the IPv4 port really is in use. There's no guarantee really. I think this is fine to leave for after Go 1.
Labels changed: added priority-later, removed priority-triage.
Status changed to Accepted.