Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236413

AbstractConnectTimeout should tolerate both NoRouteToHostException and UnresolvedAddressException

    XMLWordPrintable

Details

    • b28

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

                dfuchs Daniel Fuchs
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: