mirror of
https://github.com/golang/go
synced 2024-11-17 05:54:46 -07: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:
parent
9112d296e8
commit
205640ed7b
@ -770,7 +770,6 @@ func TestSyscallN(t *testing.T) {
|
|||||||
for arglen := 0; arglen <= runtime.MaxArgs; arglen++ {
|
for arglen := 0; arglen <= runtime.MaxArgs; arglen++ {
|
||||||
arglen := arglen
|
arglen := arglen
|
||||||
t.Run(fmt.Sprintf("arg-%d", arglen), func(t *testing.T) {
|
t.Run(fmt.Sprintf("arg-%d", arglen), func(t *testing.T) {
|
||||||
t.Parallel()
|
|
||||||
args := make([]string, arglen)
|
args := make([]string, arglen)
|
||||||
rets := make([]string, arglen+1)
|
rets := make([]string, arglen+1)
|
||||||
params := make([]uintptr, arglen)
|
params := make([]uintptr, arglen)
|
||||||
|
Loading…
Reference in New Issue
Block a user