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 <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
Bryan C. Mills 2021-11-03 15:12:09 -04:00
parent 012c32095f
commit 68536facc9
1 changed files with 6 additions and 0 deletions

View File

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