mirror of
https://github.com/golang/go
synced 2024-11-25 21:28:03 -07:00
syscall: do not run TestSyscallAllocations in parallel with other tests
Fixes #70327. Change-Id: I27ee0d1fbae73fb5c22aa699f4e3110c67bc9ea2 Reviewed-on: https://go-review.googlesource.com/c/go/+/630136 Auto-Submit: Russ Cox <rsc@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
0d397d85ea
commit
a7043ec95b
@ -230,8 +230,6 @@ func TestGetStartupInfo(t *testing.T) {
|
|||||||
func TestSyscallAllocations(t *testing.T) {
|
func TestSyscallAllocations(t *testing.T) {
|
||||||
testenv.SkipIfOptimizationOff(t)
|
testenv.SkipIfOptimizationOff(t)
|
||||||
|
|
||||||
t.Parallel()
|
|
||||||
|
|
||||||
// Test that syscall.SyscallN arguments do not escape.
|
// Test that syscall.SyscallN arguments do not escape.
|
||||||
// The function used (in this case GetVersion) doesn't matter
|
// The function used (in this case GetVersion) doesn't matter
|
||||||
// as long as it is always available and doesn't panic.
|
// as long as it is always available and doesn't panic.
|
||||||
|
Loading…
Reference in New Issue
Block a user