Skip to content

Commit 76f981c

Browse files
0introbradfitz
authored andcommitted
net/http: skip TestServerHijackGetsBackgroundByte on Plan 9
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 <[email protected]>
1 parent e395e32 commit 76f981c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/net/http/serve_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5180,6 +5180,9 @@ func TestServerDuplicateBackgroundRead(t *testing.T) {
51805180
// bufio.Reader.Buffered(), without resorting to Reading it
51815181
// (potentially blocking) to get at it.
51825182
func TestServerHijackGetsBackgroundByte(t *testing.T) {
5183+
if runtime.GOOS == "plan9" {
5184+
t.Skip("skipping test; see https://golang.org/issue/18657")
5185+
}
51835186
setParallel(t)
51845187
defer afterTest(t)
51855188
done := make(chan struct{})

0 commit comments

Comments
 (0)