Fixup grpc test (#6844)

Remove deprecated `grpc.WithBlock()`. This option is a noop with
`grpc.NewClient()`.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
Ben Kochie 2024-08-18 16:18:00 +02:00 committed by GitHub
parent 2a357f7af5
commit b48aeea3c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
}