What version of Go are you using (go version)?
go1.15
Does this issue reproduce with the latest release?
yes
What did you do?
When benchmark function execute time is very short, set benchtime=5s / 10s / 20s is ok.
BenchmarkNewObject-2 1000000000 0.279 ns/op
But set benchtime=120s will execute time out.
*** Test killed with quit: ran too long (11m0s).
What did you expect to see?
Do not timeout
What did you see instead?
*** Test killed with quit: ran too long (11m0s).
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
yes
What did you do?
When benchmark function execute time is very short, set benchtime=5s / 10s / 20s is ok.
But set benchtime=120s will execute time out.
What did you expect to see?
Do not timeout
What did you see instead?