]> Cypherpunks repositories - gostls13.git/commit
time: add a regression test for time.AfterFunc goroutine starvation
authorBryan C. Mills <bcmills@google.com>
Fri, 19 Jan 2024 22:10:21 +0000 (17:10 -0500)
committerGopher Robot <gobot@golang.org>
Mon, 22 Jan 2024 16:16:08 +0000 (16:16 +0000)
commitd3f713bbd11ce9da507b21968179012b62d1a52c
tree3c1df15339b0b5e3f1d07193c9f49e90d9885f95
parentb17bf6dde52446a3eebbf667735367566288b97f
time: add a regression test for time.AfterFunc goroutine starvation

The test is skipped on wasm platforms for now, because it
successfully detects a starvation bug on those platforms.

For #65178.

Change-Id: I05d28f1c7be99fcab67ec4dfaa38f412e11fd3cb
Reviewed-on: https://go-review.googlesource.com/c/go/+/557038
Auto-Submit: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/time/sleep_test.go