Commit 4e03bbb1 authored by David du Colombier's avatar David du Colombier Committed by Brad Fitzpatrick

net/http/httputil: skip TestReverseProxyCancellation on Plan 9

Update #9554

Change-Id: I7de2a7d585d56b84ab975565042ed997e6124e08
Reviewed-on: https://go-review.googlesource.com/2613Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 0d4d582c
...@@ -12,6 +12,7 @@ import ( ...@@ -12,6 +12,7 @@ import (
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"net/url" "net/url"
"runtime"
"strings" "strings"
"testing" "testing"
"time" "time"
...@@ -214,6 +215,9 @@ func TestReverseProxyFlushInterval(t *testing.T) { ...@@ -214,6 +215,9 @@ func TestReverseProxyFlushInterval(t *testing.T) {
} }
func TestReverseProxyCancellation(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" const backendResponse = "I am the backend"
reqInFlight := make(chan struct{}) reqInFlight := make(chan struct{})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment