You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/ci: set GORACE=atexit_sleep_ms=10 for go test -race
On my laptop, lowering this default makes `go test -race -count=1 ./...`
drop from around 1m41s to 1m35s, since we have many packages with tests.
We also need testscript to propagate this env var,
as otherwise any executions of cue via the test binary
will not see any GORACE env var and will sleep for one second as well.
With the two changes, `go test -race` in ./cmd/cue/cmd
drops from 25s to 5s on my laptop.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: Id015563ae6fbc510dac22197c9be52756bcf81b7
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1169882
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Paul Jolly <[email protected]>
0 commit comments