]> Cypherpunks repositories - gostls13.git/commitdiff
time: disable TestLongAdjustTimers on android/ios
authorRuss Cox <rsc@golang.org>
Sat, 9 Mar 2024 00:05:02 +0000 (19:05 -0500)
committerGopher Robot <gobot@golang.org>
Sat, 9 Mar 2024 22:19:48 +0000 (22:19 +0000)
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>

src/time/tick_test.go

index 9f1d366980f0645ac9574d8db41f4d6e2cc524d6..a2c6b24861bb874155cffcd69bf2feb58e6f7130 100644 (file)
@@ -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()