diff options
author | Elias Naur <elias.naur@gmail.com> | 2017-09-27 13:36:54 +0200 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2017-10-25 18:56:57 +0000 |
commit | b3b1e12b136a62c19c4de97cb2de71ede192ad84 (patch) | |
tree | 83f7c7dd919617e8a202a46b1dfd46b4db16242d | |
parent | 1ab2a4e85f8278539c0e4f3793c24240d376cc4d (diff) | |
download | go-b3b1e12b136a62c19c4de97cb2de71ede192ad84.tar.gz go-b3b1e12b136a62c19c4de97cb2de71ede192ad84.zip |
[release-branch.go1.8] net: bump TestDialerDualStackFDLeak timeout on iOS
On an iPhone 6 running iOS 11, the TestDialerDualStackFDLeak test
started failing with dial durations just above the limit:
FAIL: TestDialerDualStackFDLeak (0.21s)
dial_test.go:90: got 101.154ms; want <= 95ms
Bump the timeout on iOS.
For the iOS builder.
Change-Id: Id42b471e7cf7d0c84f6e83ed04b395fa1a2d449d
Reviewed-on: https://go-review.googlesource.com/66491
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-on: https://go-review.googlesource.com/71330
Run-TryBot: Russ Cox <rsc@golang.org>
-rw-r--r-- | src/net/dial_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/dial_test.go b/src/net/dial_test.go index 9919d72ce3..ea50fa5d67 100644 --- a/src/net/dial_test.go +++ b/src/net/dial_test.go @@ -225,6 +225,8 @@ func dialClosedPort() (actual, expected time.Duration) { // but other platforms should be instantaneous. if runtime.GOOS == "windows" { expected = 1500 * time.Millisecond + } else if runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") { + expected = 150 * time.Millisecond } else { expected = 95 * time.Millisecond } |