grpc-go/test
Joe Tsai 2d2f65684c cleanup: fix generic comparisons on protobuf messages (#3153)
Generated protobuf messages contain internal data structures
that general purpose comparison functions (e.g., reflect.DeepEqual,
pretty.Compare, etc) do not properly compare. It is already the case
today that these functions may report a difference when two messages
are actually semantically equivalent.

Fix all usages by either calling proto.Equal directly if
the top-level types are themselves proto.Message, or by calling
cmp.Equal with the cmp.Comparer(proto.Equal) option specified.
This option teaches cmp to use proto.Equal anytime it encounters
proto.Message types.
2019-11-06 14:25:07 -08:00
..
bufconn test & testutils: prevent goroutine leaks in test functions (#3133) 2019-11-01 14:51:58 -07:00
codec_perf internal: update proto library version (#3025) 2019-09-17 13:49:26 -07:00
go_vet internal: vet cleanups (#2405) 2018-10-26 15:50:46 -07:00
grpc_testing internal: update proto library version (#3025) 2019-09-17 13:49:26 -07:00
tools mod: move test/tools to a different module (#3086) 2019-10-14 09:31:07 -07:00
balancer_test.go balancer: filter out grpclb addresses if balancer is not grpclb (#2907) 2019-07-17 15:08:56 -07:00
channelz_linux_go110_test.go channelz: wait for clean up before next test (#2797) 2019-05-02 14:47:50 -07:00
channelz_test.go resolver: add State fields to support error handling (#2951) 2019-10-04 12:59:43 -07:00
context_canceled_test.go client: fix race between client-side stream cancellation and compressed server data arriving (#3054) 2019-10-01 10:47:40 -07:00
creds_test.go cleanup: fix typo in comment (#2657) 2019-03-14 13:12:48 -07:00
end2end_test.go cleanup: fix generic comparisons on protobuf messages (#3153) 2019-11-06 14:25:07 -08:00
goaway_test.go client: fix race between transport draining and new RPCs (#2919) 2019-07-22 16:07:55 -07:00
gracefulstop_test.go server: immediately close all connections created after GracefulStop (#2903) 2019-07-12 13:14:19 -07:00
healthcheck_test.go test: embed Unimplemented___Server in every service (#3076) 2019-10-04 13:22:31 -07:00
race.go autofix license notice 2017-06-08 14:42:19 +02:00
rawConnWrapper.go Update go.mod for golang/x/tools and staticcheck (#2832) 2019-05-24 11:13:46 -07:00
retry_test.go cleanup: fix generic comparisons on protobuf messages (#3153) 2019-11-06 14:25:07 -08:00
servertester.go Update go.mod for golang/x/tools and staticcheck (#2832) 2019-05-24 11:13:46 -07:00
stream_cleanup_test.go test: fix Test/GracefulStop by not removing activeStreams too aggresivelly (#2857) 2019-06-12 10:26:18 -07:00