]> Cypherpunks repositories - gostls13.git/commit
time: increase slop for TestTicker
authorIan Lance Taylor <iant@golang.org>
Tue, 27 Apr 2021 00:49:28 +0000 (17:49 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 27 Apr 2021 19:37:31 +0000 (19:37 +0000)
commit13e87cda000149ff3efce95210b0c921f7d772bf
treea24bfb09e020bae943e6846acc390e4668f71be3
parentf432d3fc41b8f6b01131023aabcf935ebea172cb
time: increase slop for TestTicker

Also sleep a bit each time it fails, in case the system is overloaded.

Fixes #37332

Change-Id: Iabf3d0a27b5834c1e2a87c826b6206146b4f62c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/313849
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/time/tick_test.go