aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2023-05-04 15:11:28 -0400
committerCherry Mui <cherryyz@google.com>2023-05-04 20:09:34 +0000
commit0212b80eacaf03365810ea93e0380aefe8b8ab42 (patch)
tree39598852e81151e0d26d5796fc5af684b8392079 /src/runtime
parentae59562c71efa4bb5a537d7ee0f64417a8a7272d (diff)
downloadgo-0212b80eacaf03365810ea93e0380aefe8b8ab42.tar.xz
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 <gobot@golang.org> Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/stack_test.go2
1 files changed, 0 insertions, 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