close trace

This commit is contained in:
yangzhouhan 2015-06-10 16:59:41 -07:00
parent 744f83a567
commit 04b604054f
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ import (
"google.golang.org/grpc/grpclog"
)
var EnableTracing = false
func newPayload(t testpb.PayloadType, size int) *testpb.Payload {
if size < 0 {
grpclog.Fatalf("Requested a response with invalid length %d", size)