aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/httputil/reverseproxy_test.go
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2015-01-10 01:13:58 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2015-01-10 00:23:04 +0000
commit4e03bbb1ada77fd9e8ba95d82dec6bfb3862db0d (patch)
treecf53c72f6638c37396f3a162529ccad740765920 /src/net/http/httputil/reverseproxy_test.go
parent0d4d582c68081733ec1c277d9748ec8c1ef3e177 (diff)
downloadgo-4e03bbb1ada77fd9e8ba95d82dec6bfb3862db0d.tar.gz
go-4e03bbb1ada77fd9e8ba95d82dec6bfb3862db0d.zip
net/http/httputil: skip TestReverseProxyCancellation on Plan 9
Update #9554 Change-Id: I7de2a7d585d56b84ab975565042ed997e6124e08 Reviewed-on: https://go-review.googlesource.com/2613 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http/httputil/reverseproxy_test.go')
-rw-r--r--src/net/http/httputil/reverseproxy_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/http/httputil/reverseproxy_test.go b/src/net/http/httputil/reverseproxy_test.go
index 539c5e81cf..54d2126aec 100644
--- a/src/net/http/httputil/reverseproxy_test.go
+++ b/src/net/http/httputil/reverseproxy_test.go
@@ -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{})