Skip to content

Commit b90c6b9

Browse files
author
Bryan C. Mills
committed
misc/reboot: skip TestRepeatBootstrap on short builders
This test is slow and resource-intensive, and will rarely catch failures. It is important to run sometimes, but probably a waste of time on smaller (and especially reverse) builders. Rather than hard-coding a list of small builders, only run it on the longtest builders. Fixes golang#35233 Fixes golang#30892 Fixes golang#49753 Change-Id: I25a9702e1f541246ea200fd7c79414ca5f69edae Reviewed-on: https://go-review.googlesource.com/c/go/+/366538 Trust: Bryan C. Mills <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 066620f commit b90c6b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

misc/reboot/reboot_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ import (
1515
)
1616

1717
func TestRepeatBootstrap(t *testing.T) {
18+
if testing.Short() {
19+
t.Skipf("skipping test that rebuilds the entire toolchain")
20+
}
21+
1822
goroot, err := os.MkdirTemp("", "reboot-goroot")
1923
if err != nil {
2024
t.Fatal(err)

0 commit comments

Comments
 (0)