From 97de9ec466464c82f5b546f2826a6a11b183cf7d Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Mon, 24 Jan 2022 10:24:05 -0500 Subject: [PATCH] cmd/fiximports: skip TestDryRun on plan9-arm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For golang/go#50775. Change-Id: I229263c840f406926b1f7c91de2400d4a18f3e16 Reviewed-on: https://go-review.googlesource.com/c/tools/+/380495 Trust: Bryan Mills Reviewed-by: Daniel Martí --- cmd/fiximports/main_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/fiximports/main_test.go b/cmd/fiximports/main_test.go index 9d2c94c0bff..bbc4a2eb28e 100644 --- a/cmd/fiximports/main_test.go +++ b/cmd/fiximports/main_test.go @@ -245,6 +245,9 @@ import ( // TestDryRun tests that the -n flag suppresses calls to writeFile. func TestDryRun(t *testing.T) { + if os.Getenv("GO_BUILDER_NAME") == "plan9-arm" { + t.Skipf("skipping test that times out on plan9-arm; see https://go.dev/issue/50775") + } testenv.NeedsTool(t, "go") *dryrun = true