java/net/httpclient/ConnectExceptionTest.java should not rely on system resolver

XMLWordPrintable

    • b21

        The test verifies that the HttpClient throws a ConnectException in response to DNS resolution failures. If the DNS server is unresponsive, the test may take a long time.
        We can configure Java to use a non-existent hosts file for name resolution; this way the negative DNS responses will always be available immediately.

              Assignee:
              Daniel Jelinski
              Reporter:
              Daniel Jelinski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: