]> Cypherpunks repositories - gostls13.git/commit
time: deflake TestChan/asynctimerchan=1 tests
authorRuss Cox <rsc@golang.org>
Tue, 23 Apr 2024 21:34:38 +0000 (17:34 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 25 Apr 2024 11:28:32 +0000 (11:28 +0000)
commit8960925ad8dd1ef234731d94ebbea263e35a3e42
tree11051b8fcbcc2d97e3cd4689a72f86e62a2847a1
parentdb5f2b415399da9b653e68aa03f23ce661cc5339
time: deflake TestChan/asynctimerchan=1 tests

The overall time package tests increase from 3.85s to 4.85s on my laptop.
But they should be less flaky, and the time is spent sleeping, so it won't
slow down the overall machine running multiple package tests in
parallel.

For #66322.

Change-Id: I66d6647c389c943b53045e8836ede4ba3d4670c7
Reviewed-on: https://go-review.googlesource.com/c/go/+/581315
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/time/tick_test.go