smartystreets / goconvey

Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
http://smartystreets.github.io/goconvey/
Other
8.23k stars 554 forks source link

ShouldResemble may cause CPU usage too high #654

Open Jiaget opened 2 years ago

Jiaget commented 2 years ago

What I did?

I wrote So(actualReq, ShouldResemble, req) in my unit test, actualReq and req are protoreflect.ProtoMessage type。

What happend?

My CPU load raised at 100% image

Maybe something I did wrong, but I don't think it is fine that ShouldResemblecaused my machine stuck on it.