From 4e03bbb1ada77fd9e8ba95d82dec6bfb3862db0d Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sat, 10 Jan 2015 01:13:58 +0100 Subject: [PATCH] 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 --- src/net/http/httputil/reverseproxy_test.go | 4 ++++ 1 file changed, 4 insertions(+) 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{}) -- 2.50.0