1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:04:46 -07:00

runtime: disable preemption test (fix build)

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/10849043
This commit is contained in:
Russ Cox 2013-07-01 18:10:03 -04:00
parent 08e064135d
commit 1184407f2a

View File

@ -169,6 +169,7 @@ var preempt = func() int {
}
func TestPreemptionGC(t *testing.T) {
t.Skip("preemption is disabled")
// Test that pending GC preempts running goroutines.
const P = 5
defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(P + 1))