]> Cypherpunks repositories - gostls13.git/commit
net: set TestNotTemporaryRead flaky for AIX
authorClément Chigot <clement.chigot@atos.net>
Thu, 11 Jul 2019 07:43:38 +0000 (09:43 +0200)
committerIan Lance Taylor <iant@golang.org>
Thu, 11 Jul 2019 17:28:41 +0000 (17:28 +0000)
commita5f3823c27d93f16dfde56509071a20130e0c731
treee4dd5a7dc98bf79deaebd29e361be7863f419589
parent80cca23b59fe75ba588f7ddee7adb48a6afe2eb7
net: set TestNotTemporaryRead flaky for AIX

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 <clement.chigot@atos.net>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/net_test.go