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. HARMONY-1664-InetAddressTest.patch
        2 kB
        Denis Kishenko
      2. luni.sh
        0.4 kB
        Alexei Fedotov

        Issue Links

          Activity

          Alexey Varlamov created issue -
          Alexei Fedotov made changes -
          Field Original Value New Value
          Link This issue is related to HARMONY-1752 [ HARMONY-1752 ]
          Paulex Yang made changes -
          Assignee Paulex Yang [ paulex ]
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Alexei Fedotov made changes -
          Attachment luni.sh [ 12342921 ]
          Paulex Yang made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Denis Kishenko made changes -
          Attachment HARMONY-1664-InetAddressTest.patch [ 12343622 ]
          Paulex Yang made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Paulex Yang made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development