Skip to content

Commit bb1cdf0

Browse files
committed
Reduce test concurrency to 1 in tests
1 parent 6ea3c9a commit bb1cdf0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/test-all.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ setup_envs
2222

2323
header_text "running go test"
2424

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

2729
header_text "running coverage"
2830

0 commit comments

Comments
 (0)