mirror of https://github.com/golang/go.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 <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
453cbb8f67
commit
a29c30f620
|
|
@ -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.
|
// wait 10ms just to make a timer go off.
|
||||||
const (
|
const (
|
||||||
sched = 10 * Millisecond
|
sched = 10 * Millisecond
|
||||||
tries = 10
|
tries = 100
|
||||||
)
|
)
|
||||||
|
|
||||||
drain := func() {
|
drain := func() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue