Things to notice:
- A parallel test run in parallel only to other parallel tests. That means your non-parallel tests will run first and then your parallel ones.
- A maximum of --parallel (a new gotest command line switch) tests will run in parallel. --parallel defaults to runtime.GOMAXPROCS(0) which is 1. This means the if you don't specify --parallel, your parallel tests will run one at a time.
No comments:
Post a Comment