From a5f3823c27d93f16dfde56509071a20130e0c731 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cl=C3=A9ment=20Chigot?= Date: Thu, 11 Jul 2019 09:43:38 +0200 Subject: [PATCH] net: set TestNotTemporaryRead flaky for AIX MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This test sometimes times out when the machine is busy. The reason behind is still a bit blurry. But it seems to comes from the fact that on AIX, once a listen is performed a socket, every connection will be accepted even before an accept is made (which only occurs when a machine is busy). On Linux, a socket is created as a "passive socket" which seems to wait for the accept before allowing incoming connections. Updates #29685 Change-Id: I41b053b7d5f5b4420b72d6a217be72e41220d769 Reviewed-on: https://go-review.googlesource.com/c/go/+/185717 Run-TryBot: Clément Chigot Reviewed-by: Ian Lance Taylor --- src/net/net_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/net/net_test.go b/src/net/net_test.go index 2b5845bb15..463ae8856d 100644 --- a/src/net/net_test.go +++ b/src/net/net_test.go @@ -525,6 +525,9 @@ func TestNotTemporaryRead(t *testing.T) { if runtime.GOOS == "freebsd" { testenv.SkipFlaky(t, 25289) } + if runtime.GOOS == "aix" { + testenv.SkipFlaky(t, 29685) + } t.Parallel() server := func(cs *TCPConn) error { cs.SetLinger(0) -- 2.50.0