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

Method TestServerStatsServerStreamRPCError

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

Source from the content-addressed store, hash-verified

992}
993
994func (s) TestServerStatsServerStreamRPCError(t *testing.T) {
995 count := 5
996 testServerStats(t, &testConfig{compress: "gzip"}, &rpcConfig{count: count, success: false, callType: serverStreamRPC}, []func(t *testing.T, d *gotData, e *expectedData){
997 checkInHeader,
998 checkBegin,
999 checkInPayload,
1000 checkOutHeader,
1001 checkOutTrailer,
1002 checkEnd,
1003 })
1004}
1005
1006func (s) TestServerStatsFullDuplexRPC(t *testing.T) {
1007 count := 5

Callers

nothing calls this directly

Calls 1

testServerStatsFunction · 0.85

Tested by

no test coverage detected