mirror of
https://github.com/golang/go
synced 2024-11-07 23:16:14 -07: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 (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"internal/testenv"
|
||||||
"io"
|
"io"
|
||||||
"net/internal/socktest"
|
"net/internal/socktest"
|
||||||
"os"
|
"os"
|
||||||
@ -521,6 +522,9 @@ func TestCloseUnblocksRead(t *testing.T) {
|
|||||||
|
|
||||||
// Issue 24808: verify that ECONNRESET is not temporary for read.
|
// Issue 24808: verify that ECONNRESET is not temporary for read.
|
||||||
func TestNotTemporaryRead(t *testing.T) {
|
func TestNotTemporaryRead(t *testing.T) {
|
||||||
|
if runtime.GOOS == "freebsd" {
|
||||||
|
testenv.SkipFlaky(t, 25289)
|
||||||
|
}
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
server := func(cs *TCPConn) error {
|
server := func(cs *TCPConn) error {
|
||||||
cs.SetLinger(0)
|
cs.SetLinger(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user