]> Cypherpunks repositories - gostls13.git/commit
time: increase arbitrary upper bound in TestReset to 10s
authorBryan C. Mills <bcmills@google.com>
Mon, 10 Jul 2023 22:40:47 +0000 (18:40 -0400)
committerBryan Mills <bcmills@google.com>
Tue, 11 Jul 2023 13:19:40 +0000 (13:19 +0000)
commit4c58d6bf52b87628d0a73041af61e58eed84a310
treebfd1add982b369fd7c348c81f519f7560a7e466f
parent6a063b01b0b0effa787c5aed90b585b409fe4688
time: increase arbitrary upper bound in TestReset to 10s

The previous upper bound was around 0.375 s, which is empirically
too short on a slow, heavily-loaded builder. Since the test doesn't
seem to depend on the actual duration in any meaningful way, let's
make it several orders of magnitude larger.

Fixes #61266.

Change-Id: I6dde5e174966ee385db67e3cb87334f463c7e597
Reviewed-on: https://go-review.googlesource.com/c/go/+/508695
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/time/sleep_test.go