On 26/04/2019 14:33, Daniel Fuchs wrote:
Hi,
Please find below a test stabilization fix for:
8129315: java/net/Socket/LingerTest.java and
java/net/Socket/ShutdownBoth.java timeout intermittently
http://cr.openjdk.java.net/~dfuchs/webrev_8129315/webrev.00/index.html
One minor comment is that the 3-arg constructor requires you to specify
a value for the backlog (or <= 0 to use an implementation default). An
alternative that I used in other tests is to use the no-arg constructor
and then bind to the loopback. It just avoids need to think about the
backlog, otherwise the same.
-Alan