You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
mono tstime/mono: make json.Unmarshal of a zero time.Time yield a zero Time 3 years ago
rate tstime/rate: deflake TestLongRunningQPS 3 years ago
jitter.go tstime: add RandomDurationBetween helper 3 years ago
jitter_test.go tstime: add RandomDurationBetween helper 3 years ago
tstime.go tstime: add Parse3339B, for byte slices 4 years ago
tstime_test.go tstime: add Parse3339B, for byte slices 4 years ago