]> Cypherpunks repositories - gostls13.git/commitdiff
test: set GOMAXPROCS=1 in fixedbugs/issue9110
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Apr 2015 04:58:53 +0000 (21:58 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 28 Apr 2015 00:06:13 +0000 (00:06 +0000)
With this fix,

GOMAXPROCS=8 ./all.bash

passes, at least on my machine.

Fixes #10216.

Change-Id: Ib5991950892a1399ec81aced0a52b435e6f83fdf
Reviewed-on: https://go-review.googlesource.com/9392
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
test/fixedbugs/issue9110.go

index 729463305ec11fae24dff0622a34585036dbb755..b9e861fd26a5c1c8c569e0e233e58ddf63ff4b83 100644 (file)
@@ -17,6 +17,7 @@ import (
 )
 
 func main() {
+       runtime.GOMAXPROCS(1)
        debug.SetGCPercent(1000000) // only GC when we ask for GC
 
        var stats, stats1, stats2 runtime.MemStats