]> Cypherpunks repositories - gostls13.git/commit
test: deflake init1.go test, tighten its bounds
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 13 Feb 2015 16:06:36 +0000 (08:06 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 13 Feb 2015 22:13:56 +0000 (22:13 +0000)
commitb5b11bdbc6be59c0449f95949d68dd4151a3a8d6
treea989266fed8289b4d1c8239008f519d5feee81c1
parentad73dc349bcb796ec99e1adb25973671d2204fba
test: deflake init1.go test, tighten its bounds

Per the comment at top, this test is about whether the GC runs during
init, but it was testing more than that, and testing how much the GC
collected in a certain amount of time.

Instead, loosen this test to just see whether it ran at all and not
how well it did.

Fixes #9848

Change-Id: I31da7dd769140d7b49aa6c149a543fae6076aa5e
Reviewed-on: https://go-review.googlesource.com/4820
Reviewed-by: Rick Hudson <rlh@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
test/init1.go