From: Bryan C. Mills Date: Mon, 22 Aug 2022 19:33:11 +0000 (-0400) Subject: net/http: skip Get flakes in TestClientTimeout tests on windows/arm4 X-Git-Tag: go1.20rc1~1478 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7f1037c717858439a9d75d6f62c98c835fc72a74;p=gostls13.git net/http: skip Get flakes in TestClientTimeout tests on windows/arm4 There is already a skip in case of a later failure in the same test on these platforms. Skip the failure if it occurs earlier too. For #43120. Change-Id: Id530370caa6a7df8cae593f6fdcb66871b86b125 Reviewed-on: https://go-review.googlesource.com/c/go/+/425096 Run-TryBot: Bryan Mills TryBot-Result: Gopher Robot Auto-Submit: Bryan Mills Reviewed-by: Damien Neil --- diff --git a/src/net/http/client_test.go b/src/net/http/client_test.go index 5e5bf8f2bb..44b532ae1f 100644 --- a/src/net/http/client_test.go +++ b/src/net/http/client_test.go @@ -1272,6 +1272,9 @@ func testClientTimeout(t *testing.T, h2 bool) { t.Logf("timeout before response received") continue } + if runtime.GOOS == "windows" && strings.HasPrefix(runtime.GOARCH, "arm") { + testenv.SkipFlaky(t, 43120) + } t.Fatal(err) }