]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: skip TestTransportPersistConnLeak/h2
authorDamien Neil <dneil@google.com>
Fri, 14 Oct 2022 15:31:50 +0000 (08:31 -0700)
committerDamien Neil <dneil@google.com>
Fri, 14 Oct 2022 16:41:21 +0000 (16:41 +0000)
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>

src/net/http/transport_test.go

index f2b5ab50c83378c2ca9ff6a036b421c6ced4aa81..cd31141e52d9220a33417dcd856f944d4239310c 100644 (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