Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
testing: update docs for Parallel, -cpus flag #4488
The documentation for testing.T.Parallel (http://golang.org/pkg/testing/#T.Parallel) says it is "to be run in parallel with (and only with) other parallel tests in this CPU group". Nothing on golang.org says what a "CPU group" is or how one determines which tests are in it. (https://www.google.com/search?q=";CPU+group"+site%3Agolang.org
When it says "CPU group" it means the group of tests that are running on a particular number of CPUs. It's relevant when you specify -test.cpus=1,2,4,8 and such to "go test." It looks like the documentation for "go test" and package "testing" omit the flags, but you can see the flag here: http://golang.org/src/pkg/testing/testing.go#L109
This issue was closed.