]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: skip TestServerHijackGetsBackgroundByte_big on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Sat, 14 Jan 2017 13:27:40 +0000 (14:27 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 14 Jan 2017 17:11:06 +0000 (17:11 +0000)
CL 35234 added TestServerHijackGetsBackgroundByte_big, which is failing
on Plan 9, because CloseWrite is not implemented on Plan 9 yet.

Updates #17906.
Updates #18658.

Change-Id: Icaf3fe3600d586515ecd92aca874104ea81ce6b9
Reviewed-on: https://go-review.googlesource.com/35179
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/serve_test.go

index 4997c9ee019b54aa73419b59dd0732b6e27ada22..bc76407b38e803474a73d834745f0fb71c14e6a9 100644 (file)
@@ -5245,6 +5245,9 @@ func TestServerHijackGetsBackgroundByte(t *testing.T) {
 // immediate 1MB of data to the server to fill up the server's 4KB
 // buffer.
 func TestServerHijackGetsBackgroundByte_big(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{})