Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-1664

[classlib][net] InetAddressTest.test_getHostName() fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      Linux, IBM VME v4

      Description

      I observe for fairly long the following failure:

      junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost>
      at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252)
      at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)

      Seems that the test should be made more robust.

        Attachments

        1. luni.sh
          0.4 kB
          Alexei Fedotov
        2. HARMONY-1664-InetAddressTest.patch
          2 kB
          Denis Kishenko

          Issue Links

            Activity

              People

              • Assignee:
                paulex Paulex Yang
                Reporter:
                varlax Alexey Varlamov
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: