Skip to content

Commit a9f5193

Browse files
n
Change-Id: Ib83ccb39a0ea866a8baa82aee1741331b1a082e4
1 parent d1db60f commit a9f5193

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cmd/dist/test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,7 @@ func (t *tester) runPending(nextTest *distTest) {
13131313
}(w)
13141314
}
13151315

1316+
maxbg := maxbg
13161317
// for runtime.NumCPU() < 4 || runtime.GOMAXPROCS(0) == 1, do not change maxbg.
13171318
// Because there is not enough CPU to parallel the testing of multiple packages.
13181319
if runtime.NumCPU() > 4 && runtime.GOMAXPROCS(0) != 1 {

0 commit comments

Comments
 (0)