mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: disable preemption test (fix build)
TBR=golang-dev CC=golang-dev https://golang.org/cl/10849043
This commit is contained in:
parent
08e064135d
commit
1184407f2a
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ var preempt = func() int {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestPreemptionGC(t *testing.T) {
|
func TestPreemptionGC(t *testing.T) {
|
||||||
|
t.Skip("preemption is disabled")
|
||||||
// Test that pending GC preempts running goroutines.
|
// Test that pending GC preempts running goroutines.
|
||||||
const P = 5
|
const P = 5
|
||||||
defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(P + 1))
|
defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(P + 1))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue