mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
12 lines
429 B
Markdown
12 lines
429 B
Markdown
### New testing/synctest package
|
|
|
|
<!-- go.dev/issue/67434, go.dev/issue/73567 -->
|
|
The new [testing/synctest](/pkg/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](/pkg/time) package functions
|
|
operate on a fake clock.
|
|
|
|
The [synctest.Wait] function waits for all goroutines in the
|
|
current bubble to block.
|