]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/test: further reduce likeliness of hang in Test9400
authorPaul E. Murphy <murp@ibm.com>
Fri, 19 Nov 2021 22:33:42 +0000 (16:33 -0600)
committerPaul Murphy <murp@ibm.com>
Tue, 30 Nov 2021 20:04:58 +0000 (20:04 +0000)
commit7ccbcc90560468937f02609a43cb39a6e13ff797
treede439ff684934f28f571ea98291708fce1f8b34e
parent5f63f168daa9644bcc723077e9e2e1796639f6bb
misc/cgo/test: further reduce likeliness of hang in Test9400

As suggested by #49680, a GC could be in-progress when we
disable GC. Force a GC after we pause to ensure we don't
hang in this case.

For #49695

Change-Id: I4fc4c06ef2ac174217c3dcf7d58c7669226e2d24
Reviewed-on: https://go-review.googlesource.com/c/go/+/367874
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Paul Murphy <murp@ibm.com>
misc/cgo/test/testdata/issue9400_linux.go