x/net/http2: several benchmarks crash #70338
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.22.8 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
Tried to run any benchmark from golang.org/x/net/http2 that uses
newServerTesterWithRealConn
.BenchmarkServerGets
BenchmarkServerPosts
BenchmarkServerToClientStreamDefaultOptions
BenchmarkServerToClientStreamReuseFrames
BenchmarkServer_GetRequest
BenchmarkServer_PostRequest
What did you see happen?
They all crash, because
newServerTesterWithRealConn
neglects to initialize theserverTester
'sgroup
field.What did you expect to see?
They should all work, or be removed.
The text was updated successfully, but these errors were encountered: