From b48aeea3c44dc211949cf4f835f18c541b2a1c9c Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Sun, 18 Aug 2024 16:18:00 +0200 Subject: [PATCH] Fixup grpc test (#6844) Remove deprecated `grpc.WithBlock()`. This option is a noop with `grpc.NewClient()`. Signed-off-by: SuperQ --- test/grpc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/grpc_test.go b/test/grpc_test.go index 157b4e397..8c3b03268 100644 --- a/test/grpc_test.go +++ b/test/grpc_test.go @@ -22,7 +22,7 @@ func TestGrpc(t *testing.T) { } defer g.Stop() - conn, err := grpc.NewClient(tcp, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock()) + conn, err := grpc.NewClient(tcp, grpc.WithTransportCredentials(insecure.NewCredentials())) if err != nil { t.Fatalf("Expected no error but got: %s", err) }