Skip to content

Commit e9a4ed9

Browse files
author
Bryan C. Mills
committed
internal/testenv: treat linux-riscv64-unmatched as a slow builder
For golang/go#49321 Change-Id: I36e1b26a52956b6b2a9a2a655934aba853759162 Reviewed-on: https://go-review.googlesource.com/c/tools/+/361155 Trust: Bryan C. Mills <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> gopls-CI: kokoro <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent d52da6d commit e9a4ed9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

internal/testenv/testenv.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,12 @@ func ExitIfSmallMachine() {
262262
// As of 2021-11-02, this builder is running with GO_TEST_TIMEOUT_SCALE=2,
263263
// and seems to have unusually slow disk performance.
264264
fmt.Fprintln(os.Stderr, "skipping test: dragonfly-amd64 has slow disk (https://golang.org/issue/45216)")
265+
case "linux-riscv64-unmatched":
266+
// As of 2021-11-03, this builder is empirically not fast enough to run
267+
// gopls tests. Ideally we should make the tests faster in short mode
268+
// and/or fix them to not assume arbitrary deadlines.
269+
// For now, we'll skip them instead.
270+
fmt.Fprintf(os.Stderr, "skipping test: %s builder is too slow (https://golang.org/issue/49321)\n", b)
265271
default:
266272
return
267273
}

0 commit comments

Comments
 (0)