From: Russ Cox Date: Fri, 15 Mar 2024 01:42:50 +0000 (-0400) Subject: time: fix longtest flake X-Git-Tag: go1.23rc1~877 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a29c30f620bdf5eba16263ed53d3efa01961d615;p=gostls13.git 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 --- 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() {