Make interop client dial blocking (#1559)

This should not be necessary once the new balancer API is done.

Currently interop clients don't use balancer. With a non-blocking dial, the first failfast RPC will fail because there's no connection available.
This is a known bug, and will be fixed by the new balancer APIs.

This is a temp fix to make interop tests pass.
1 file changed
tree: a04fdc331e7d44a4c0bf4c2f41be27b709617ed8
  1. .github/
  2. balancer/
  3. benchmark/
  4. codes/
  5. connectivity/
  6. credentials/
  7. Documentation/
  8. examples/
  9. grpclb/
  10. grpclog/
  11. health/
  12. internal/
  13. interop/
  14. keepalive/
  15. metadata/
  16. naming/
  17. peer/
  18. reflection/
  19. resolver/
  20. stats/
  21. status/
  22. stress/
  23. tap/
  24. test/
  25. testdata/
  26. transport/
  27. .please-update
  28. .travis.yml
  29. AUTHORS
  30. backoff.go
  31. backoff_test.go
  32. balancer.go
  33. balancer_conn_wrappers.go
  34. balancer_test.go
  35. balancer_v1_wrapper.go
  36. call.go
  37. call_test.go
  38. clientconn.go
  39. clientconn_test.go
  40. codec.go
  41. codec_benchmark_test.go
  42. codec_test.go
  43. codegen.sh
  44. CONTRIBUTING.md
  45. doc.go
  46. go16.go
  47. go17.go
  48. grpclb.go
  49. interceptor.go
  50. LICENSE
  51. Makefile
  52. picker_wrapper.go
  53. picker_wrapper_test.go
  54. pickfirst.go
  55. pickfirst_test.go
  56. proxy.go
  57. proxy_test.go
  58. README.md
  59. resolver_conn_wrapper.go
  60. rpc_util.go
  61. rpc_util_test.go
  62. server.go
  63. server_test.go
  64. stream.go
  65. trace.go
  66. vet.sh
README.md

gRPC-Go

Build Status GoDoc

The Go implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the gRPC Quick Start: Go guide.

Installation

To install this package, you need to install Go and setup your Go workspace on your computer. The simplest way to install the library is to run:

$ go get -u google.golang.org/grpc

Prerequisites

This requires Go 1.6 or later.

Constraints

The grpc package should only depend on standard Go packages and a small number of exceptions. If your contribution introduces new dependencies which are NOT in the list, you need a discussion with gRPC-Go authors and consultants.

Documentation

See API documentation for package and API descriptions and find examples in the examples directory.

Performance

See the current benchmarks for some of the languages supported in this dashboard.

Status

General Availability Google Cloud Platform Launch Stages.

FAQ

Compiling error, undefined: grpc.SupportPackageIsVersion

Please update proto package, gRPC package and rebuild the proto files:

  • go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
  • go get -u google.golang.org/grpc
  • protoc --go_out=plugins=grpc:. *.proto