Commit 516001f5 authored by David du Colombier's avatar David du Colombier Committed by Brad Fitzpatrick

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/31188Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: David du Colombier <0intro@gmail.com>
parent c1cd64d0
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment