1
0
mirror of https://github.com/golang/go synced 2024-11-23 20:40:07 -07:00

net: disable TestTCPReadWriteAllocs on dragonfly

Update #8859
Update #10042

Change-Id: Idc7eadb447b73563ce9085e50c2042652442c2d9
Reviewed-on: https://go-review.googlesource.com/6412
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Brad Fitzpatrick 2015-03-01 09:30:15 -08:00
parent 5432b4d346
commit cf14e0e333

View File

@ -494,12 +494,13 @@ func TestTCPConcurrentAccept(t *testing.T) {
func TestTCPReadWriteAllocs(t *testing.T) {
switch runtime.GOOS {
case "nacl", "windows", "darwin":
case "nacl", "windows", "darwin", "dragonfly":
// NaCl needs to allocate pseudo file descriptor
// stuff. See syscall/fd_nacl.go.
// Windows uses closures and channels for IO
// completion port-based netpoll. See fd_windows.go.
// Darwin is unreliable for unknown reasons (issue 8859).
// Dragonfly also unreliable (lumped into issue 8859).
t.Skipf("not supported on %s", runtime.GOOS)
}