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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • 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. HARMONY-1664-InetAddressTest.patch
          2 kB
          Denis Kishenko
        2. luni.sh
          0.4 kB
          Alexei Fedotov

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: