tailscale/tstime/rate
Joe Tsai 0744d75238 tstime/rate: deflake TestLongRunningQPS
This test is highly dependent on the accuracy of OS timers.
Reduce the number of failures by decreasing the required
accuracy from 0.999 to 0.995.
Also, switch from repeated time.Sleep to using a time.Ticker
for improved accuracy.

Updates #2727

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
(cherry picked from commit 30458c71c8)
2021-08-30 12:20:31 -07:00
..
rate_test.go tstime/rate: deflake TestLongRunningQPS 2021-08-30 12:20:31 -07:00
rate.go tstime/rate: new package 2021-07-29 12:56:58 -07:00