summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/net/nettest/conntest.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/net/nettest/conntest.go')
-rw-r--r--vendor/golang.org/x/net/nettest/conntest.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/nettest/conntest.go b/vendor/golang.org/x/net/nettest/conntest.go
index f5b0b7bcf..5bd3a8c68 100644
--- a/vendor/golang.org/x/net/nettest/conntest.go
+++ b/vendor/golang.org/x/net/nettest/conntest.go
@@ -12,6 +12,7 @@ import (
"io/ioutil"
"math/rand"
"net"
+ "runtime"
"sync"
"testing"
"time"
@@ -341,6 +342,9 @@ func testCloseTimeout(t *testing.T, c1, c2 net.Conn) {
// testConcurrentMethods tests that the methods of net.Conn can safely
// be called concurrently.
func testConcurrentMethods(t *testing.T, c1, c2 net.Conn) {
+ if runtime.GOOS == "plan9" {
+ t.Skip("skipping on plan9; see https://golang.org/issue/20489")
+ }
go chunkedCopy(c2, c2)
// The results of the calls may be nonsensical, but this should