]> Cypherpunks repositories - gostls13.git/commit
reflect: set GOMAXPROCS=1 in the malloc test
authorDmitriy Vyukov <dvyukov@google.com>
Mon, 2 Jul 2012 16:55:08 +0000 (20:55 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Mon, 2 Jul 2012 16:55:08 +0000 (20:55 +0400)
commit21de1ab359f198fff172f5e2bbaa29ab955a4688
treec48c8b165fcb9118ce635bad7400b5ca54319433
parent804e562a62bed963fe96571d442d468a608e7207
reflect: set GOMAXPROCS=1 in the malloc test
Occasionally I see:
--- FAIL: TestAllocations-15 (0.00 seconds)
        all_test.go:1575: 6 mallocs after 100 iterations
Tested:
$ go test -cpu=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 reflect

R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/6354063
src/pkg/reflect/all_test.go