1
0
mirror of https://github.com/golang/go synced 2024-11-18 00:14:47 -07:00

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 <dneil@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
This commit is contained in:
Damien Neil 2022-10-14 08:31:50 -07:00
parent 201759f959
commit e9cdca9a24

View File

@ -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