Skip to content

Commit

Permalink
net/http: skip TestServerHijackGetsBackgroundByte on Plan 9
Browse files Browse the repository at this point in the history
CL 5232 added TestServerHijackGetsBackgroundByte, which is failing
on Plan 9, because CloseWrite is not implemented on Plan 9 yet.

Updates #17906.
Updates #18657.

Change-Id: I3c2f73760b0f767f3f9ed2698c855372170e0481
Reviewed-on: https://go-review.googlesource.com/35178
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
0intro authored and bradfitz committed Jan 14, 2017
1 parent e395e32 commit 76f981c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/net/http/serve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5180,6 +5180,9 @@ func TestServerDuplicateBackgroundRead(t *testing.T) {
// bufio.Reader.Buffered(), without resorting to Reading it
// (potentially blocking) to get at it.
func TestServerHijackGetsBackgroundByte(t *testing.T) {
if runtime.GOOS == "plan9" {
t.Skip("skipping test; see https://golang.org/issue/18657")
}
setParallel(t)
defer afterTest(t)
done := make(chan struct{})
Expand Down

0 comments on commit 76f981c

Please sign in to comment.