]> Cypherpunks repositories - gostls13.git/commit
time: skip a often-flaky test in short mode
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 29 Feb 2012 21:14:05 +0000 (13:14 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 29 Feb 2012 21:14:05 +0000 (13:14 -0800)
commit8c5290502fc1d7cddf416614aab5d2ad3c1b9b08
treef3bdb6387a572b4a8b6c8097e34b8587cdee4246
parent8e38b17a906e7208fe9133cedd154758ae4f717d
time: skip a often-flaky test in short mode

In -test.short mode, skip measuring the upper bound of time
sleeps. The API only guarantees minimum bounds on sleeps,
anyway, so this isn't a bug we're ignoring as much as it is
simply observing bad builder virtualization and/or loaded
machines.

We keep the test in full mode where developers will
presumably be running on a lightly-loaded, native, fast
machine.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5713044
src/pkg/time/sleep_test.go