From a623c8a8f30bb7b7f20a6e2ae0ada4609c975503 Mon Sep 17 00:00:00 2001 From: Pasupuleti Sravani Date: Tue, 17 Dec 2024 07:56:53 +0000 Subject: [PATCH] Moving the intialization of S field into the stubserver --- test/gracefulstop_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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