]> Cypherpunks repositories - gostls13.git/commit
net: relax error checking in TestAcceptIgnoreSomeErrors
authorAlex Brainman <alex.brainman@gmail.com>
Tue, 12 May 2015 01:34:23 +0000 (11:34 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 12 May 2015 04:02:25 +0000 (04:02 +0000)
commit71bf182028c2c7dd70e6a391a6519eb17dd06b3c
treeb7f2524b28212aa5d4e52015fc010e4e9efd9617
parent7bbd4f780b08c08b841766602b3cc4484ae34ed3
net: relax error checking in TestAcceptIgnoreSomeErrors

TestAcceptIgnoreSomeErrors was created to test that network
accept function ignores some errors. But conditions created
by the test also affects network reads. Change the test to
ignore these read errors when acceptable.

Fixes #10785

Change-Id: I3da85cb55bd3e78c1980ad949e53e82391f9b41e
Reviewed-on: https://go-review.googlesource.com/9942
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/net_windows_test.go