]> Cypherpunks repositories - gostls13.git/commitdiff
net/http/httputil: skip TestReverseProxyCancellation on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Sat, 10 Jan 2015 00:13:58 +0000 (01:13 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 10 Jan 2015 00:23:04 +0000 (00:23 +0000)
Update #9554

Change-Id: I7de2a7d585d56b84ab975565042ed997e6124e08
Reviewed-on: https://go-review.googlesource.com/2613
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/httputil/reverseproxy_test.go

index 539c5e81cfc7eee49a6777bfd128c0d4b6f93c64..54d2126aeccbd6486751fc8ba7365ed139d116c2 100644 (file)
@@ -12,6 +12,7 @@ import (
        "net/http"
        "net/http/httptest"
        "net/url"
+       "runtime"
        "strings"
        "testing"
        "time"
@@ -214,6 +215,9 @@ func TestReverseProxyFlushInterval(t *testing.T) {
 }
 
 func TestReverseProxyCancellation(t *testing.T) {
+       if runtime.GOOS == "plan9" {
+               t.Skip("skipping test; see http://golang.org/issue/9554")
+       }
        const backendResponse = "I am the backend"
 
        reqInFlight := make(chan struct{})