Files
golang.go/api/next/77169.txt
Damien Neil 8ac41b52c4 testing/synctest: add Sleep
Add a convenience function which combines time.Sleep and synctest.Wait.

Fixes #77169

Change-Id: I2ff105105e95cfd8e5b4f72ccacf7afa59efb6bd
Reviewed-on: https://go-review.googlesource.com/c/go/+/740066
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2026-02-02 14:43:36 -08:00

2 lines
55 B
Plaintext

pkg testing/synctest, func Sleep(time.Duration) #77169