1
0
mirror of https://github.com/golang/go synced 2024-11-19 11:14:47 -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:
Josh Bleecher Snyder 2015-02-28 20:34:53 +00:00
parent 0eeb5cf088
commit b1c0d8a54b

View File

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