mirror of
https://github.com/golang/go
synced 2024-11-18 11:44:45 -07:00
net: skip TestReadTimeoutUnblocksRead on Plan 9
Deadlines aren't implemented on Plan 9 yet. Updates #17477. Change-Id: I44ffdbef97276dfec56547e5189672b7da24bfc1 Reviewed-on: https://go-review.googlesource.com/31188 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: David du Colombier <0intro@gmail.com>
This commit is contained in:
parent
c1cd64d0ac
commit
516001f50f
@ -457,6 +457,9 @@ func withTCPConnPair(t *testing.T, peer1, peer2 func(c *TCPConn) error) {
|
||||
// See golang.org/cl/30164 which documented this. The net/http package
|
||||
// depends on this.
|
||||
func TestReadTimeoutUnblocksRead(t *testing.T) {
|
||||
if runtime.GOOS == "plan9" {
|
||||
t.Skipf("not supported on %s; see golang.org/issue/17477", runtime.GOOS)
|
||||
}
|
||||
serverDone := make(chan struct{})
|
||||
server := func(cs *TCPConn) error {
|
||||
defer close(serverDone)
|
||||
|
Loading…
Reference in New Issue
Block a user