From 6f367c66218bfc0b0e1bee24aa297865dd944087 Mon Sep 17 00:00:00 2001 From: Menghan Li Date: Thu, 8 Feb 2018 14:19:27 -0800 Subject: [PATCH] close cc in test --- test/end2end_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/end2end_test.go b/test/end2end_test.go index 909afae08a27..f39524c29418 100644 --- a/test/end2end_test.go +++ b/test/end2end_test.go @@ -6031,6 +6031,7 @@ func TestFailFastRPCErrorOnBadCertificates(t *testing.T) { if err != nil { t.Fatalf("Dial(_) = %v, want %v", err, nil) } + defer cc.Close() tc := testpb.NewTestServiceClient(cc) for i := 0; i < 1000; i++ {