差异go test的两个标志-parallel,并-test.parallel和标记被优先?
-parallel n
Allow parallel execution of test functions that call t.Parallel.
The value of this flag is the maximum number of tests to run
simultaneously; by default, it is set to the value of GOMAXPROCS.
Note that -parallel only applies within a single test binary.
The 'go test' command may run tests for different packages
in parallel as well, according to the setting of the -p flag
(see 'go help build').
Run Code Online (Sandbox Code Playgroud)
上面的文档说明并行运行的测试数量相等, …