aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorRob Findley <rfindley@google.com>2023-04-13 20:52:53 -0400
committerRobert Findley <rfindley@google.com>2023-05-23 19:39:00 +0000
commit0aedfc196bcf14df6325185f8992adbeb3f5a504 (patch)
treebcb8e92f51e5c27d13be9aeaf1326e0e6916d2b7 /src/encoding
parentaf2bd7bac0d2287b5ec4339542ce62e92abc1535 (diff)
downloadgo-0aedfc196bcf14df6325185f8992adbeb3f5a504.tar.xz
go/types: update TestStdlib to type-check concurrently
In order to have some test coverage of concurrent use of the go/types APIs, update the Stdlib test to type-check concurrently. In combination with non-deterministic ordering, this should hopefully provide moderate test coverage of concurrent use. Also, remove the arbitrary 10ms timeout in short mode, in favor of simply not running. After this change, TestStdlib went from taking 16s on my laptop to 2s, in part because of the parallelism and in part because we are no longer type-checking twice (once for the import er, once for the test). Fixes golang/go#47729 Change-Id: Ie49743947ab2d5aec051c3d09ce045acf5b94ad4 Reviewed-on: https://go-review.googlesource.com/c/go/+/484540 Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions