Integrated: 8236413: AbstractConnectTimeout should tolerate both NoRouteToHostException and UnresolvedAddressException
Daniel Fuchs
dfuchs at openjdk.java.net
Tue Dec 8 16:39:29 UTC 2020
On Fri, 4 Dec 2020 17:41:47 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> The timeout tests extending AbstractConnectTimeout have been relaxed to accept a
> ConnectException wrapping NoRouteToHostException.
> These test have been observed failing intermittently with ConnectException wrapping
> java.nio.channels.UnresolvedAddressException instead - presumably a transient network
> failure caused this other exception to be thrown.
>
> The test logic should be relaxed to accept UnresolvedAddressException as possible
> cause in ConnectException too.
This pull request has now been integrated.
Changeset: fab6158c
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/fab6158c
Stats: 14 lines in 1 file changed: 7 ins; 0 del; 7 mod
8236413: AbstractConnectTimeout should tolerate both NoRouteToHostException and UnresolvedAddressException
Reviewed-by: aefimov, michaelm
-------------
PR: https://git.openjdk.java.net/jdk/pull/1629
More information about the net-dev
mailing list