diff options
| author | Cherry Mui <cherryyz@google.com> | 2023-05-04 15:11:28 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2023-05-04 20:09:34 +0000 |
| commit | 0212b80eacaf03365810ea93e0380aefe8b8ab42 (patch) | |
| tree | 39598852e81151e0d26d5796fc5af684b8392079 /src/runtime/stack_test.go | |
| parent | ae59562c71efa4bb5a537d7ee0f64417a8a7272d (diff) | |
| download | go-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/stack_test.go')
| -rw-r--r-- | src/runtime/stack_test.go | 2 |
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 |
