From e9cdca9a24b63cba0560978fb48773b83805be25 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Fri, 14 Oct 2022 08:31:50 -0700 Subject: [PATCH] net/http: skip TestTransportPersistConnLeak/h2 We started running this test under HTTP/2 in a recent refactoring. It seems to be flaky for HTTP/2; skip it for now. Change-Id: I8b270afe7f0d3db307b5a951e16f576116333003 Reviewed-on: https://go-review.googlesource.com/c/go/+/443075 Run-TryBot: Damien Neil Reviewed-by: Michael Pratt Auto-Submit: Damien Neil --- src/net/http/transport_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/net/http/transport_test.go b/src/net/http/transport_test.go index f2b5ab50c8..cd31141e52 100644 --- a/src/net/http/transport_test.go +++ b/src/net/http/transport_test.go @@ -1680,6 +1680,9 @@ func TestTransportPersistConnLeak(t *testing.T) { run(t, testTransportPersistConnLeak, testNotParallel) } func testTransportPersistConnLeak(t *testing.T, mode testMode) { + if mode == http2Mode { + t.Skip("flaky in HTTP/2") + } // Not parallel: counts goroutines const numReq = 25