tailscale/tstime/rate
Joe Tsai 30458c71c8
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>
2021-08-30 10:46:41 -07:00
..
rate.go tstime/rate: new package 2021-07-29 12:56:58 -07:00
rate_test.go tstime/rate: deflake TestLongRunningQPS 2021-08-30 10:46:41 -07:00