Update golang.org/x/net/nettest to revision
7dcfb8076726a3fdd9353b6b8a1f1b6be6811bd6.
Change-Id: Ib6505423910d34142d7b1bcb6792a5017df4da47
Reviewed-on: https://go-review.googlesource.com/44131
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
"io/ioutil"
"math/rand"
"net"
+ "runtime"
"sync"
"testing"
"time"
// 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
}
if err != nil {
t.Errorf("unexpected Read error: %v", err)
+ break
}
}
if err := <-errCh; err != nil {