1
0
mirror of https://github.com/golang/go synced 2024-09-29 12:04:28 -06:00

runtime: avoid run TestSyscallN in parallel

Fixes #48012

Change-Id: Ie27eb864ac387ecf5155a3aefa81661f1448ace5
Reviewed-on: https://go-review.googlesource.com/c/go/+/345670
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
Changkun Ou 2021-08-27 17:08:23 +02:00 committed by Bryan C. Mills
parent 9112d296e8
commit 205640ed7b

View File

@ -770,7 +770,6 @@ func TestSyscallN(t *testing.T) {
for arglen := 0; arglen <= runtime.MaxArgs; arglen++ {
arglen := arglen
t.Run(fmt.Sprintf("arg-%d", arglen), func(t *testing.T) {
t.Parallel()
args := make([]string, arglen)
rets := make([]string, arglen+1)
params := make([]uintptr, arglen)