aboutsummaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2024-03-08 19:05:02 -0500
committerGopher Robot <gobot@golang.org>2024-03-09 22:19:48 +0000
commitaa511b426d1c72c182cc1b797d3fa71cf47906f3 (patch)
tree788544be98dde893153a5fb6b6ba1dd02b0e769e /src/time
parent74726defe99bb1e19cee35e27db697085f06fda1 (diff)
downloadgo-aa511b426d1c72c182cc1b797d3fa71cf47906f3.tar.gz
go-aa511b426d1c72c182cc1b797d3fa71cf47906f3.zip
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 <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/time')
-rw-r--r--src/time/tick_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/time/tick_test.go b/src/time/tick_test.go
index 9f1d366980..a2c6b24861 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()