Skip to content

Commit

Permalink
net/http: skip TestTransportPersistConnLeak/h2
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Michael Pratt <[email protected]>
Auto-Submit: Damien Neil <[email protected]>
  • Loading branch information
neild committed Oct 14, 2022
1 parent 201759f commit e9cdca9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/net/http/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9cdca9

Please sign in to comment.