From: Mikio Hara Date: Wed, 18 May 2016 21:15:18 +0000 (+0900) Subject: net: deflake TestDialTimeoutMaxDuration X-Git-Tag: go1.7beta1~143 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9cd2c700deccc6dfcc8f264857e406c53bf07859;p=gostls13.git net: deflake TestDialTimeoutMaxDuration Fixes #15745. Change-Id: I6f9a1dcf0b1d97cb443900c7d8da09ead83d4b6a Reviewed-on: https://go-review.googlesource.com/23243 Run-TryBot: Mikio Hara Reviewed-by: Ian Lance Taylor --- diff --git a/src/net/timeout_test.go b/src/net/timeout_test.go index 86010927b3..7991a579fd 100644 --- a/src/net/timeout_test.go +++ b/src/net/timeout_test.go @@ -124,7 +124,7 @@ func TestDialTimeoutMaxDuration(t *testing.T) { for i, tt := range dialTimeoutMaxDurationTests { ch := make(chan error) - max := time.NewTimer(100 * time.Millisecond) + max := time.NewTimer(250 * time.Millisecond) defer max.Stop() go func() { d := Dialer{Timeout: tt.timeout}