Skip to content

Commit

Permalink
Reduce test concurrency to 1 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroaleman committed Jul 19, 2020
1 parent 6ea3c9a commit bb1cdf0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ setup_envs

header_text "running go test"

go test -race ${MOD_OPT} ./... -parallel 4
parallal_count=4
if [[ -n $CI ]]; then parallal_count=1; fi
go test -race ${MOD_OPT} ./... -parallel $parallal_count

header_text "running coverage"

Expand Down

0 comments on commit bb1cdf0

Please sign in to comment.