aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2022-01-18 12:21:18 -0500
committerBryan Mills <bcmills@google.com>2022-01-18 18:56:51 +0000
commit75bcdd59635a33e2a210ef6b02f5e3814571de4b (patch)
treed2746907315e2bed73314dd9701f5d48e0609acf /src/net
parentef4be98abd699c6f059dcac6dc6dfe5774cbf257 (diff)
downloadgo-75bcdd59635a33e2a210ef6b02f5e3814571de4b.tar.xz
net/http: skip TestClientTimeout_Headers_h{1,2} on windows/arm and windows/arm64
This extends the skip added in CL 375635 to the "_Headers" variant of the test, since we have observed similar failures in that variant on the builders. For #43120 Change-Id: Ib1c97fbb776b576271629272f3194da77913a941 Reviewed-on: https://go-review.googlesource.com/c/go/+/379156 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/net')
-rw-r--r--src/net/http/client_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/http/client_test.go b/src/net/http/client_test.go
index ea59f68f35..e91d526824 100644
--- a/src/net/http/client_test.go
+++ b/src/net/http/client_test.go
@@ -1339,6 +1339,9 @@ func testClientTimeout_Headers(t *testing.T, h2 bool) {
t.Error("net.Error.Timeout = false; want true")
}
if got := ne.Error(); !strings.Contains(got, "Client.Timeout exceeded") {
+ if runtime.GOOS == "windows" && strings.HasPrefix(runtime.GOARCH, "arm") {
+ testenv.SkipFlaky(t, 43120)
+ }
t.Errorf("error string = %q; missing timeout substring", got)
}
}