This is the output of relnote -goroot=... todo, with each todo in a comment, followed by summary text from the issue and perhaps the CL, lightly processed into markdown. For #71661. Change-Id: I855c4c4ee02491b5b6113822baf69dbafb4e54ab Reviewed-on: https://go-review.googlesource.com/c/go/+/675877 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
429 B
429 B
New testing/synctest package
The new testing/synctest package provides support for testing concurrent code.
The [synctest.Test] function runs a test function in an isolated "bubble". Within the bubble, time package functions operate on a fake clock.
The [synctest.Wait] function waits for all goroutines in the current bubble to block.