From: Cherry Mui Date: Thu, 4 May 2023 19:11:28 +0000 (-0400) Subject: runtime: don't run TestStackGrowth in parallel with other tests X-Git-Tag: go1.21rc1~674 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0212b80eacaf03365810ea93e0380aefe8b8ab42;p=gostls13.git 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 --- 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