mirror of https://github.com/golang/go.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 <gobot@golang.org> Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
ae59562c71
commit
0212b80eac
|
|
@ -81,8 +81,6 @@ func TestStackGrowth(t *testing.T) {
|
|||
t.Skip("-quick")
|
||||
}
|
||||
|
||||
t.Parallel()
|
||||
|
||||
var wg sync.WaitGroup
|
||||
|
||||
// in a normal goroutine
|
||||
|
|
|
|||
Loading…
Reference in New Issue