From a29c30f620bdf5eba16263ed53d3efa01961d615 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 14 Mar 2024 21:42:50 -0400 Subject: [PATCH] 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 Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI --- src/time/tick_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.50.0