Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16755

TestQJMWithFaults.testUnresolvableHostName() can fail due to unexpected host resolution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0, 3.3.5
    • 3.4.0, 3.3.5
    • test
    • Running using both Maven Surefire and an IDE results in a test failure.  Switching the name to "bogus.invalid" results in the expected behavior, which depends on an UnknownHostException.

    • Reviewed

    Description

      Tests that want to use an unresolvable address may actually resolve in some environments.  Replacing host names like "bogus" with a IETF RFC 2606 domain name avoids the issue.

      Attachments

        Issue Links

          Activity

            People

              svaughan Steve Vaughan
              svaughan Steve Vaughan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: