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
Each time through the loop the error message gets longer. The long error message can't be garbage collected, so your program will eventually start swapping. It's not hanging, it's just taking a very very long time to complete.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Create this bench test
Then try to run it like:
$ go test -bench=. -run=Bench ./...
What did you expect to see?
I would expect to see the execution time for all tests.
What did you see instead?
It is getting stuck with the
BenchmarkWrapf
.$ go test -bench=. -run=Bench ./... goos: darwin goarch: amd64 cpu: Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz BenchmarkWrap-8 1408294 756.3 ns/op 336 B/op 4 allocs/op BenchmarkNoWrap-8 38275 341847 ns/op 462277 B/op 4 allocs/op BenchmarkWrapf-8 ^Csignal: interrupt FAIL pkg/domain 443.597s
The text was updated successfully, but these errors were encountered: