Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net: flaky Windows TestAcceptIgnoreSomeErrors #8662
The new GCE builders for windows-amd64 and windows-386 are getting this error a lot: --- FAIL: TestAcceptIgnoreSomeErrors (0.55s) net_windows_test.go:126: recv failed: WSARecv tcp 127.0.0.1:51298: An existing connection was forcibly closed by the remote host. FAIL FAIL net 3.711s The test looks very sleep & timing dependent. Can you make it more robust or disable it in short mode?
One thing to keep in mind is that GCE monotonic time passes is very slow ticks, like 1 millisecond, instead of 50 nanoseconds of Linux on physical hardware. So if you have something that's very timing-sensitive, GCE will just make it worse. Or maybe Windows in general is also just bad at that IIRC.
adg added a commit that referenced this issue
May 11, 2015