]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: skip Get flakes in TestClientTimeout tests on windows/arm4
authorBryan C. Mills <bcmills@google.com>
Mon, 22 Aug 2022 19:33:11 +0000 (15:33 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 22 Aug 2022 20:13:29 +0000 (20:13 +0000)
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 <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/net/http/client_test.go

index 5e5bf8f2bbf0c0f435061253e746522d77e3c619..44b532ae1f3a3b2bbecb10ac4476719ff239f681 100644 (file)
@@ -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)
                }