MCPcopy
hub / github.com/grpc/grpc-go / TestServerStatsUnaryRPCError

Method TestServerStatsUnaryRPCError

stats/stats_test.go:929–938  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

927}
928
929func (s) TestServerStatsUnaryRPCError(t *testing.T) {
930 testServerStats(t, &testConfig{compress: ""}, &rpcConfig{success: false, callType: unaryRPC}, []func(t *testing.T, d *gotData, e *expectedData){
931 checkInHeader,
932 checkBegin,
933 checkInPayload,
934 checkOutHeader,
935 checkOutTrailer,
936 checkEnd,
937 })
938}
939
940func (s) TestServerStatsClientStreamRPC(t *testing.T) {
941 count := 5

Callers

nothing calls this directly

Calls 1

testServerStatsFunction · 0.85

Tested by

no test coverage detected