]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.20] 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:51 +0000 (22:48 +0000)
commitb852f39511db4c8f74a243fa3ce251b0dc8872b3
tree216041ae7cbdbc543a00c5b0591a3392ced3c26d
parent4df95d5145ffea7a7aa6a8e785038f41185ee166
[release-branch.go1.20] 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 #58938.

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/+/474580
src/cmd/go/go_test.go