aboutsummaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2024-03-14 21:42:50 -0400
committerGopher Robot <gobot@golang.org>2024-03-15 04:32:43 +0000
commita29c30f620bdf5eba16263ed53d3efa01961d615 (patch)
tree1e4d2e9becde94509f7acde0ebfbd91142afc0a8 /src/time
parent453cbb8f679e33ccf384055bda88906bae4e058a (diff)
downloadgo-a29c30f620bdf5eba16263ed53d3efa01961d615.tar.gz
go-a29c30f620bdf5eba16263ed53d3efa01961d615.zip
time: fix longtest flake
Should fix longtest build dashboard flake: https://ci.chromium.org/ui/p/golang/builders/ci/gotip-linux-amd64-longtest/b8753459332096992401/overview Change-Id: I613bd4337aa65180389674e136d215135fde3196 Reviewed-on: https://go-review.googlesource.com/c/go/+/571803 Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/time')
-rw-r--r--src/time/tick_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/tick_test.go b/src/time/tick_test.go
index 90c13fbe82..6cb9c0ae14 100644
--- a/src/time/tick_test.go
+++ b/src/time/tick_test.go
@@ -357,7 +357,7 @@ func testTimerChan(t *testing.T, tim timer, C <-chan Time, synctimerchan bool) {
// wait 10ms just to make a timer go off.
const (
sched = 10 * Millisecond
- tries = 10
+ tries = 100
)
drain := func() {