Merged in feature/timeout (pull request #138)
Remove race conditions from -race in tests * timeout * raceconditions * nobuildgp * build * perf
This commit is contained in:
+3
-1
@@ -49,7 +49,9 @@ tasks:
|
||||
vars:
|
||||
NUM_RESULTS: 5
|
||||
cmds:
|
||||
- GOMAXPROCS={{.TEST_PARALLEL}} go test -parallel {{.CPU_COUNT}} -json ./...
|
||||
- |
|
||||
GOMAXPROCS={{.TEST_PARALLEL}} go test -parallel {{.CPU_COUNT}} -count=1 -json ./... \
|
||||
> {{.TEST_FILE}}
|
||||
- |
|
||||
echo -e "🐢 TOP {{.NUM_RESULTS}} SLOWEST INDIVIDUAL PACKAGE RUNS:"
|
||||
jq -r 'select(.Action == "pass" and .Test == null) | "\(.Elapsed)s \(.Package)"' "{{.TEST_FILE}}" | \
|
||||
|
||||
Reference in New Issue
Block a user