From 7f1037c717858439a9d75d6f62c98c835fc72a74 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Mon, 22 Aug 2022 15:33:11 -0400 Subject: [PATCH] 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 --- src/net/http/client_test.go | 3 +++ 1 file changed, 3 insertions(+) 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) } -- 2.50.0