Skip to content

Commit 10f1ed1

Browse files
author
Bryan C. Mills
committed
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 <[email protected]> Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent ed84a83 commit 10f1ed1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/time/sleep_test.go

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ package time_test
77
import (
88
"errors"
99
"fmt"
10+
"internal/testenv"
1011
"math/rand"
1112
"runtime"
1213
"strings"
@@ -531,6 +532,10 @@ func TestZeroTimer(t *testing.T) {
531532
// Test that rapidly moving a timer earlier doesn't cause it to get dropped.
532533
// Issue 47329.
533534
func TestTimerModifiedEarlier(t *testing.T) {
535+
if runtime.GOOS == "plan9" && runtime.GOARCH == "arm" {
536+
testenv.SkipFlaky(t, 50470)
537+
}
538+
534539
past := Until(Unix(0, 0))
535540
count := 1000
536541
fail := 0

0 commit comments

Comments
 (0)