From 68536facc95c8f6b55fe232c10c627b251190dcf Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Wed, 3 Nov 2021 15:12:09 -0400 Subject: [PATCH] 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 Run-TryBot: Bryan C. Mills gopls-CI: kokoro Reviewed-by: Robert Findley --- internal/testenv/testenv.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/testenv/testenv.go b/internal/testenv/testenv.go index 8940d9f8bc..2a7b2a6a6d 100644 --- a/internal/testenv/testenv.go +++ b/internal/testenv/testenv.go @@ -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 }