tailscale/tstime
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
..
mono tstime/mono: make json.Unmarshal of a zero time.Time yield a zero Time 2021-08-04 11:22:58 -07:00
rate tstime/rate: deflake TestLongRunningQPS 2021-08-30 10:46:41 -07:00
jitter_test.go tstime: add RandomDurationBetween helper 2021-01-21 07:54:14 -08:00
jitter.go tstime: add RandomDurationBetween helper 2021-01-21 07:54:14 -08:00
tstime_test.go tstime: add Parse3339B, for byte slices 2020-11-19 14:47:11 -08:00
tstime.go tstime: add Parse3339B, for byte slices 2020-11-19 14:47:11 -08:00