You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestTransportPersistConnContextLeakMaxConnsPerHost tests that request contexts are eventually garbage collected.
Running this test in HTTP/2 mode (after refactoring to add an HTTP/2 version) results in it failing:
$ go test ./net/http -run=ContextLeakMaxConns
--- FAIL: TestTransportPersistConnContextLeakMaxConnsPerHost (0.22s)
--- FAIL: TestTransportPersistConnContextLeakMaxConnsPerHost/h2 (0.20s)
transport_test.go:1963: 63 Contexts still not finalized after 100 GC cycles.
I'm not sure what's going on, but the test looks correct to me. This might be indicative of a real issue. Or maybe I'm missing something.
The text was updated successfully, but these errors were encountered: