Merged in feature/timeout (pull request #138)

Remove race conditions from -race in tests

* timeout

* raceconditions

* nobuildgp

* build

* perf
This commit is contained in:
Michael McGuinness
2025-05-12 15:11:50 +00:00
parent b5c30b4af7
commit f5061f53db
9 changed files with 39 additions and 37 deletions
+3 -1
View File
@@ -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}}" | \