reflect: make allocation test less fragile. When GOMAXPROCS>1, the testing framework runs in parallel with the test itself and may do a small number of allocations, so allow the "noAllocs" condition to admit just a few.
reflect: make allocation test less fragile.
When GOMAXPROCS>1, the testing framework runs in parallel with the
test itself and may do a small number of allocations, so allow the
"noAllocs" condition to admit just a few.

Fixes issue 1782.

R=rsc
CC=golang-dev, rsc
http://codereview.appspot.com/4533041

Committer: Russ Cox <5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org>
abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go