client: deprecates FailFast & replaces its use by WaitForReady.

This commit is contained in:
Can Guler
2018-12-13 15:15:11 -08:00
committed by GitHub
parent 39333409e4
commit 29a7ac4deb
12 changed files with 102 additions and 95 deletions

View File

@ -203,7 +203,7 @@ func TestReflectionEnd2end(t *testing.T) {
defer conn.Close()
c := rpb.NewServerReflectionClient(conn)
stream, err := c.ServerReflectionInfo(context.Background(), grpc.FailFast(false))
stream, err := c.ServerReflectionInfo(context.Background(), grpc.WaitForReady(true))
if err != nil {
t.Fatalf("cannot get ServerReflectionInfo: %v", err)
}