]> Cypherpunks repositories - gostls13.git/commit
net: skip TestDialTimeout subtests on Windows if Dial returns WSAECONNREFUSED
authorBryan C. Mills <bcmills@google.com>
Wed, 30 Aug 2023 14:48:09 +0000 (10:48 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 30 Aug 2023 15:58:46 +0000 (15:58 +0000)
commita8d45a72eb7a204ff9e8189eb54d7ea3da1ea7a7
tree444dca9e1e13638cbd4a31564e94f439022c9f72
parent2fa7129836d65a3c44696747cc2cd9e9f391c66f
net: skip TestDialTimeout subtests on Windows if Dial returns WSAECONNREFUSED

Since we have only seen this failure mode on windows/arm64,
we do not skip on the Go project's windows/amd64 builders
so that we will be more likely to find out whether this failure mode
is specific to arm64.

Also simplify the ECONNRESET check, since I've remembered that the
error_*_test.go files exist.

Fixes #62359.
Updates #56876.

Change-Id: I17bd678486f3d3ec3363a45986a711f570b013d0
Reviewed-on: https://go-review.googlesource.com/c/go/+/524455
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/net/error_plan9_test.go
src/net/error_unix_test.go
src/net/error_windows_test.go
src/net/timeout_test.go