From 0212b80eacaf03365810ea93e0380aefe8b8ab42 Mon Sep 17 00:00:00 2001 From: Cherry Mui Date: Thu, 4 May 2023 15:11:28 -0400 Subject: [PATCH] runtime: don't run TestStackGrowth in parallel with other tests This test calls runtime.GC quite a number of times. GC is a global operation. To reduce interference with other tests, don't run this test in parallel with other tests. May fix #57601. Change-Id: I6efadb62c4dada37a927455f5c6cd98cafb88aaf Reviewed-on: https://go-review.googlesource.com/c/go/+/492715 TryBot-Result: Gopher Robot Run-TryBot: Cherry Mui Reviewed-by: Michael Knyszek --- src/runtime/stack_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/runtime/stack_test.go b/src/runtime/stack_test.go index 042289aa58..96d37b839c 100644 --- a/src/runtime/stack_test.go +++ b/src/runtime/stack_test.go @@ -81,8 +81,6 @@ func TestStackGrowth(t *testing.T) { t.Skip("-quick") } - t.Parallel() - var wg sync.WaitGroup // in a normal goroutine -- 2.50.0