mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
0d4d582c68
commit
4e03bbb1ad
1 changed files with 4 additions and 0 deletions
|
|
@ -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{})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue