mirror of
https://github.com/golang/go
synced 2024-09-06 00:19:45 +00:00
net: skip flaky TestNotTemporaryRead on FreeBSD
Updates #25289 Change-Id: I662760b921be625aca988cd0b43c648ac5dfd814 Reviewed-on: https://go-review.googlesource.com/127837 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
9594ba4fe5
commit
1b870077c8
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue