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

Method TestServerStatsFullDuplexRPCError

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

Source from the content-addressed store, hash-verified

1025}
1026
1027func (s) TestServerStatsFullDuplexRPCError(t *testing.T) {
1028 count := 5
1029 testServerStats(t, &testConfig{compress: "gzip"}, &rpcConfig{count: count, success: false, callType: fullDuplexStreamRPC}, []func(t *testing.T, d *gotData, e *expectedData){
1030 checkInHeader,
1031 checkBegin,
1032 checkOutHeader,
1033 checkInPayload,
1034 checkOutTrailer,
1035 checkEnd,
1036 })
1037}
1038
1039type checkFuncWithCount struct {
1040 f func(t *testing.T, d *gotData, e *expectedData)

Callers

nothing calls this directly

Calls 1

testServerStatsFunction · 0.85

Tested by

no test coverage detected