harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails
Date Fri, 13 Oct 2006 05:58:36 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12441922 ] 
            
Elena Semukhina commented on HARMONY-1664:
------------------------------------------

This test fails for me on Widows 2003 server with H-1816, 1823 applied (which eliminate InterruptedException).

3 test cases fail in the following way:

test_getByNameLjava_lang_String Failure null

junit.framework.AssertionFailedError: null at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:14)
at tests.api.java.net.InetAddressTest.test_getByNameLjava_lang_String(InetAddressTest.java:207)
at java.lang.reflect.VMReflection.invokeMethod(Native Method) 

test_getHostName Failure null

junit.framework.AssertionFailedError: null at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:14)
at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:240) at java.lang.reflect.VMReflection.invokeMethod(Native
Method) 

test_getCanonicalHostName Failure null

junit.framework.AssertionFailedError: null at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:14)
at tests.api.java.net.InetAddressTest.test_getCanonicalHostName(InetAddressTest.java:412)
at java.lang.reflect.VMReflection.invokeMethod(Native Method 


> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message