Currently, attempt to compare protobuf-generated types (from *.protoc files) leads to hang or
fatal error: runtime: out of memory
Maybe, it can be solved by respecting pragma.DoNotCompare during executing assert.Equal and similar requests.
It happens at
File: ../../github.com/stretchr/testify/assert/assertions.go
1567: func diff(expected interface{}, actual interface{}) string ..
and then call for spewConfig.Sdump()
Related issue:
davecgh/go-spew#66
Also, setting spew.ConfigState.MaxDepth to reasonable value helps prevent hanging.
Currently, attempt to compare protobuf-generated types (from *.protoc files) leads to hang or
fatal error: runtime: out of memoryMaybe, it can be solved by respecting pragma.DoNotCompare during executing assert.Equal and similar requests.
It happens at
File: ../../github.com/stretchr/testify/assert/assertions.go
1567: func diff(expected interface{}, actual interface{}) string ..and then call for spewConfig.Sdump()
Related issue:
davecgh/go-spew#66
Also, setting spew.ConfigState.MaxDepth to reasonable value helps prevent hanging.