From 10f1ed131cd2cfb5ac4d9aa09888deb1bac6e921 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Thu, 6 Jan 2022 11:59:09 -0500 Subject: [PATCH] time: skip TestTimerModifiedEarlier on plan9/arm This test is observed to be flaky on the plan9-arm builder. Skip it on that platform until it can be diagnosed and fixed. For #50470 Change-Id: If626af426d856c377e00ac5baaca52899456556e Reviewed-on: https://go-review.googlesource.com/c/go/+/375934 Trust: Bryan Mills Run-TryBot: Bryan Mills TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor --- src/time/sleep_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/time/sleep_test.go b/src/time/sleep_test.go index c48e704eb7..5a949b6f80 100644 --- a/src/time/sleep_test.go +++ b/src/time/sleep_test.go @@ -7,6 +7,7 @@ package time_test import ( "errors" "fmt" + "internal/testenv" "math/rand" "runtime" "strings" @@ -531,6 +532,10 @@ func TestZeroTimer(t *testing.T) { // Test that rapidly moving a timer earlier doesn't cause it to get dropped. // Issue 47329. func TestTimerModifiedEarlier(t *testing.T) { + if runtime.GOOS == "plan9" && runtime.GOARCH == "arm" { + testenv.SkipFlaky(t, 50470) + } + past := Until(Unix(0, 0)) count := 1000 fail := 0 -- 2.50.0