examples: add regression test script to hello world example (#3092)

This commit is contained in:
Michael Le
2019-10-21 13:00:46 -07:00
committed by Doug Fawley
parent 7c3115d8bb
commit b53233ce4c
3 changed files with 95 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const (
func main() {
// Set up a connection to the server.
conn, err := grpc.Dial(address, grpc.WithInsecure())
conn, err := grpc.Dial(address, grpc.WithInsecure(), grpc.WithBlock())
if err != nil {
log.Fatalf("did not connect: %v", err)
}