commit | 8024a575aac2300f910edf27769e1afdcc6f3960 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Mon Feb 01 19:15:37 2016 +0000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Feb 01 19:15:37 2016 +0000 |
tree | 8608b837340ae532fc5c4364d6fb02ba0573cd71 | |
parent | 9d2ecf553a16eecc7047e20262918a672f8dc4b9 [diff] |
Don't call t.FailNow in goroutines started by tests. The docs at https://golang.org/pkg/testing/#T.FailNow say: > FailNow must be called from the goroutine running the test or > benchmark function, not from other goroutines created during the > test. (Fatalf is documented as "Fatalf is equivalent to Logf followed by FailNow.") This was manifesting itself as a race with two concurrently failing goroutines in my other CL, masking whatever the real problem was.
#gRPC-Go
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 guide.
To install this package, you need to install Go 1.4 or above and setup your Go workspace on your computer. The simplest way to install the library is to run:
$ go get google.golang.org/grpc
This requires Go 1.4 or above.
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.
See API documentation for package and API descriptions and find examples in the examples directory.
Beta release