]> Cypherpunks repositories - gostls13.git/commit
internal/synctest: speed up TestWeak
authorDamien Neil <dneil@google.com>
Fri, 23 May 2025 00:18:12 +0000 (17:18 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 29 May 2025 17:29:01 +0000 (10:29 -0700)
commitc2f0fe5854bbae49327f8222098142ab6db74a99
tree74b85897eac303316a83b94d629bf528d993c192
parentb170c7e94c478e616d194af95caa7747d9fa4725
internal/synctest: speed up TestWeak

Run TestWeak for fewer iterations. Five is enough reproduce #73817,
which was the motivation for this test. runtime.GC is ridiculously
slow on wasm, and not especially fast anywhere else.

Change-Id: Ieb5235d064b123cbc22a306425e385c273b54493
Reviewed-on: https://go-review.googlesource.com/c/go/+/675716
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/synctest/synctest_test.go