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:
parent
2a357f7af5
commit
b48aeea3c4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue