diff --git a/dashboard/builders.go b/dashboard/builders.go index fdf2b75c18..ed5342c3c2 100644 --- a/dashboard/builders.go +++ b/dashboard/builders.go @@ -2627,6 +2627,23 @@ func init() { distTestAdjust: noTestDirAndNoReboot, env: []string{"CGO_ENABLED=0"}, }) + addBuilder(BuildConfig{ + Name: "darwin-amd64-longtest", + HostType: "host-darwin-amd64-13-aws", + Notes: "macOS 13 with go test -short=false", + buildsRepo: func(repo, branch, goBranch string) bool { + b := buildRepoByDefault(repo) + if repo != "go" && !(branch == "master" && goBranch == "master") { + // For golang.org/x repos, don't test non-latest versions. + b = false + } + return b + }, + needsGoProxy: true, // for cmd/go module tests + env: []string{ + "GO_TEST_TIMEOUT_SCALE=5", // give them lots of time + }, + }) addBuilder(BuildConfig{ Name: "darwin-arm64-11", HostType: "host-darwin-arm64-11", diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go index fb3280d0bf..e155ec0b9c 100644 --- a/dashboard/builders_test.go +++ b/dashboard/builders_test.go @@ -394,6 +394,8 @@ func TestTrybots(t *testing.T) { } func checkBuildersForProject(t *testing.T, gotBuilders []*BuildConfig, want []string) { + t.Helper() + var got []string for _, bc := range gotBuilders { got = append(got, bc.Name)