From 1b870077c896379c066b41657d3c9062097a6943 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 3 Aug 2018 16:58:07 +0000 Subject: [PATCH] net: skip flaky TestNotTemporaryRead on FreeBSD Updates #25289 Change-Id: I662760b921be625aca988cd0b43c648ac5dfd814 Reviewed-on: https://go-review.googlesource.com/127837 Reviewed-by: Bryan C. Mills Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/net/net_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/net/net_test.go b/src/net/net_test.go index facafcf12c..692f269e0c 100644 --- a/src/net/net_test.go +++ b/src/net/net_test.go @@ -9,6 +9,7 @@ package net import ( "errors" "fmt" + "internal/testenv" "io" "net/internal/socktest" "os" @@ -521,6 +522,9 @@ func TestCloseUnblocksRead(t *testing.T) { // Issue 24808: verify that ECONNRESET is not temporary for read. func TestNotTemporaryRead(t *testing.T) { + if runtime.GOOS == "freebsd" { + testenv.SkipFlaky(t, 25289) + } t.Parallel() server := func(cs *TCPConn) error { cs.SetLinger(0)