diff --git a/test/gracefulstop_test.go b/test/gracefulstop_test.go index 17e2beff7227..798882ee297d 100644 --- a/test/gracefulstop_test.go +++ b/test/gracefulstop_test.go @@ -121,8 +121,8 @@ func (s) TestGracefulStop(t *testing.T) { } return stream.Send(&testpb.StreamingOutputCallResponse{}) }, + S: grpc.NewServer(), } - ss.S = grpc.NewServer() stubserver.StartTestService(t, ss) // 1. Start Server