]> Cypherpunks repositories - gostls13.git/commitdiff
time: fix longtest flake
authorRuss Cox <rsc@golang.org>
Fri, 15 Mar 2024 01:42:50 +0000 (21:42 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 15 Mar 2024 04:32:43 +0000 (04:32 +0000)
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>

src/time/tick_test.go

index 90c13fbe82652c05731c1b09eae9711e6c99edce..6cb9c0ae14659d7578d11cfde9eb3b1977a52087 100644 (file)
@@ -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() {