]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.19] cmd/go: avoid running slow tests on non-longtest builders
authorBryan C. Mills <bcmills@google.com>
Tue, 7 Mar 2023 20:12:29 +0000 (15:12 -0500)
committerCarlos Amedee <carlos@golang.org>
Thu, 9 Mar 2023 22:48:21 +0000 (22:48 +0000)
commitfbf4c04f82a60b1f05d76765e429294ae7785236
tree15d03d0f9b72f3e312c9208555b51684ea8e2dfc
parent20c96a7ddcd913e7fe627a30c91bcc73b655944c
[release-branch.go1.19] cmd/go: avoid running slow tests on non-longtest builders

Also annotate calls to tooSlow with specific reasons.

This will somewhat reduce test coverage on the 'darwin' builders until
we have darwin 'longtest' builders (#35678,#49055), but still seems
worthwhile to avoid alert fatigue from tests that really shouldn't be
running in the short configurations.

Updates #58918.
Updates #58919.
Fixes #58937.

Change-Id: I0000f0084b262beeec3eca3e9b8a45d61fab4313
Reviewed-on: https://go-review.googlesource.com/c/go/+/474137
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
(cherry picked from commit 9f532dd0de78af91694a2d7e5e3c45b2978d1062)
Reviewed-on: https://go-review.googlesource.com/c/go/+/474581
src/cmd/go/go_test.go