From aa511b426d1c72c182cc1b797d3fa71cf47906f3 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 8 Mar 2024 19:05:02 -0500 Subject: [PATCH] time: disable TestLongAdjustTimers on android/ios The simulators are too slow. Change-Id: I0aaf2304ad0881c74886ff3185c09614de2aae63 Reviewed-on: https://go-review.googlesource.com/c/go/+/570236 Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Auto-Submit: Russ Cox --- src/time/tick_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/time/tick_test.go b/src/time/tick_test.go index 9f1d366980f..a2c6b24861b 100644 --- a/src/time/tick_test.go +++ b/src/time/tick_test.go @@ -147,6 +147,9 @@ func TestTickerResetLtZeroDuration(t *testing.T) { } func TestLongAdjustTimers(t *testing.T) { + if runtime.GOOS == "android" || runtime.GOOS == "ios" { + t.Skipf("skipping on %s - too slow", runtime.GOOS) + } t.Parallel() var wg sync.WaitGroup defer wg.Wait()