mirror of
https://github.com/golang/go
synced 2024-11-17 16:14:42 -07:00
8b0e38ffb4
This change makes TestDialTimeout work on almost all the supported platforms. Updates #3016. Updates #3307. Updates #3867. Updates #5380. Updates #5349. Change-Id: Iacf0ebea23cdd8f6c0333d70c667a5a5f5eb0ed2 Reviewed-on: https://go-review.googlesource.com/8220 Reviewed-by: Ian Lance Taylor <iant@golang.org>
10 lines
283 B
Go
10 lines
283 B
Go
// Copyright 2015 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package net
|
|
|
|
import "time"
|
|
|
|
var testHookDialChannel = func() { time.Sleep(time.Millisecond) } // see golang.org/issue/5349
|