6965150: TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Basic.java takes too long
chris.hegarty at oracle.com
Thu Jun 23 04:31:12 PDT 2011
The change looks fine to me.
On 06/20/11 05:41 PM, Alan Bateman wrote:
> I brought this up about a year ago . This test takes about 4 mins,
> most of which is spent in a sub-test that attempts to connect to a host
> that probably does not exist. I'm looking at this test again as we need
> to speed it up. Here's the updated webrev with a change that adds the
> option -skipSlowConnectTest to the test. The @run tag is changed to pass
> this option so it skips the "slow connect" test during normal test runs:
> The alternative is to just get rid of this sub-test as originally
> suggested. This test predates try-with-resources so I've retrofitted to
> a few places. Not everywhere, and more could be done if anyone has cycles.
>  http://mail.openjdk.java.net/pipermail/nio-dev/2010-June/001003.html
More information about the nio-dev