mirror of
https://github.com/golang/go
synced 2024-11-19 10:04:56 -07:00
net: disable TestTCPReadWriteAllocs on darwin
Having this test fail, as it does reliably for me, makes working frustrating. Disable it for now, until we can diagnose the issue. Update issue #8859. Change-Id: I9dda30d60793e7a51f48f445c78ccb158068cc25 Reviewed-on: https://go-review.googlesource.com/6381 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
0eeb5cf088
commit
b1c0d8a54b
@ -494,11 +494,12 @@ func TestTCPConcurrentAccept(t *testing.T) {
|
||||
|
||||
func TestTCPReadWriteAllocs(t *testing.T) {
|
||||
switch runtime.GOOS {
|
||||
case "nacl", "windows":
|
||||
case "nacl", "windows", "darwin":
|
||||
// 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).
|
||||
t.Skipf("not supported on %s", runtime.GOOS)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user