On Fri, 4 Dec 2020 17:41:47 GMT, Daniel Fuchs <dfu...@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 <dfu...@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