]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: avoid run TestSyscallN in parallel
authorChangkun Ou <hi@changkun.de>
Fri, 27 Aug 2021 15:08:23 +0000 (17:08 +0200)
committerBryan C. Mills <bcmills@google.com>
Thu, 30 Sep 2021 18:10:18 +0000 (18:10 +0000)
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>
src/runtime/syscall_windows_test.go

index 235c79f68ffe9c0affe3085154d2ab5472298021..65f74b32fb75f8b87a8e5323c878bc66987610f5 100644 (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)