Harmony
  1. Harmony
  2. HARMONY-1664

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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.

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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development