diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-03-23 15:44:46 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-03-24 21:51:22 +0000 |
commit | 29ed12d4c7e61f6b4cc38d5b3d5eb885294f7878 (patch) | |
tree | 35d9aa5664ebcf705c2302b548992659c09fbb9a /src/testing/testing.go | |
parent | 179bcd787e4a5c4cfe475fd6fd33a41d77751113 (diff) | |
download | go-29ed12d4c7e61f6b4cc38d5b3d5eb885294f7878.tar.gz go-29ed12d4c7e61f6b4cc38d5b3d5eb885294f7878.zip |
testing: update permitted number of -race goroutines
The value 8128 appears to be correct as of 2021-03-23. The value is
determined by the value of kMaxTid currently at
https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/tsan/rtl/tsan_defs.h#L68
Fixes #45193
Change-Id: If4a30d7dbebd6775bede42f565dc8a741b8b036c
Reviewed-on: https://go-review.googlesource.com/c/go/+/304254
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Diffstat (limited to 'src/testing/testing.go')
-rw-r--r-- | src/testing/testing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/testing.go b/src/testing/testing.go index 0df6e45ec4..056a8d2879 100644 --- a/src/testing/testing.go +++ b/src/testing/testing.go @@ -190,7 +190,7 @@ // } // } // -// The race detector kills the program if it exceeds 8192 concurrent goroutines, +// The race detector kills the program if it exceeds 8128 concurrent goroutines, // so use care when running parallel tests with the -race flag set. // // Run does not return until parallel subtests have completed, providing a way |